W3cubDocs

/Haxe JavaScript

ContentElement

package js.html

extends ElementDOMElementNodeEventTarget

@:native("HTMLContentElement") Available on js

The HTMLContentElement interface represents a content HTML Element, which is used in Shadow DOM.

Documentation HTMLContentElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

select:String

Is a DOMString that reflects the select HTML attribute. The value is a comma-separated list of CSS selectors that select the content to insert in place of the content element.

Methods

getDistributedNodes ():NodeList

Returns a static NodeList of the distributed nodes associated with this content element.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/ContentElement.html