package js.html
extends DocumentFragment › Node › EventTarget
Available on jsThe
ShadowRootinterface of the Shadow DOM API is the root node of a DOM subtree that is rendered separately from a document's main DOM tree.Documentation ShadowRoot by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
applyAuthorStyles:Boolread only host:ElementA DOM element to which the ShadowRoot is attatched.
innerHTML:StringThe DOM tree inside the ShadowRoot.
read only olderShadowRoot:ShadowRootread only styleSheets:StyleSheetListgetElementsByClassName (classNames:String):HTMLCollectiongetElementsByTagName (localName:String):HTMLCollectiongetElementsByTagNameNS (namespace_:String, localName:String):HTMLCollection
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/ShadowRoot.html