-
Notifications
You must be signed in to change notification settings - Fork 22.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs for shadow root serializable property (everywhere) #33600
Docs for shadow root serializable property (everywhere) #33600
Conversation
Preview URLs (9 pages)
Flaws (11)Note! 5 documents with no flaws that don't need to be listed. 🎉 URL:
URL:
URL:
URL:
External URLs (2)URL:
(comment last updated: 2024-05-17 09:11:02) |
This pull request has merge conflicts that must be resolved before it can be merged. |
377c852
to
1691f94
Compare
- {{domxref("Element.getHTML()")}} | ||
- {{domxref("Element.innerHTML")}} | ||
- {{domxref("ShadowRoot.setHTMLUnsafe()")}} | ||
- {{domxref("Element.setHTMLUnsafe()")}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[mdn-linter] reported by reviewdog 🐶
- {{domxref("Element.setHTMLUnsafe()")}} | |
- {{domxref("Element.setHTMLUnsafe()")}} |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@sideshowbarker Could I please get a review on this. It should be accurate and useful. I may do follow on examples, but those mostly below in getHTML() and setHTMLUnsafe() - one of which is still being written. |
This adds docs for
options.serializable
which sets whether or shadow root is serializable.<template>
attributeshadowrootserializable
which sets whether or shadow root is serializable if it is created declarativelyElement.getHTML()
andShadowRoot.getHTML()
toShadowRoot.serializable
.ShadowRoot.serializable
- explains what it is for and how it is set with cross links togetHTML()
shadowRootSerializable
property, but is mostly an FYI.Note, minimal examples - might add as a post process since there are multiple PRs in play covering similar material.
Parallel work going on in #33325
Related to work for #32731