ShadowRoot

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部