W3cubDocs

/Haxe JavaScript

ShadowRoot

package js.html

extends DocumentFragmentNodeEventTarget

Available on js

The ShadowRoot interface 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:

Variables

applyAuthorStyles:Bool

read only host:Element

A DOM element to which the ShadowRoot is attatched.

innerHTML:String

The DOM tree inside the ShadowRoot.

read only olderShadowRoot:ShadowRoot

read only styleSheets:StyleSheetList

Methods

getElementsByClassName (classNames:String):HTMLCollection

getElementsByTagName (localName:String):HTMLCollection

getElementsByTagNameNS (namespace_:String, localName:String):HTMLCollection

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/ShadowRoot.html