W3cubDocs

/Haxe JavaScript

SlotElement

package js.html

extends ElementDOMElementNodeEventTarget

Available on js

The HTMLSlotElement interface of the Shadow DOM API enables access to the name and assigned nodes of an HTML slot element.

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

See also:

Variables

name:String

DOMString: Can be used to get and set the slot's name.

Methods

assignedNodes(?options:Null<AssignedNodesOptions>):Array<Node>

Returns the sequence of elements assigned to this slot, or alternatively the slot's fallback content.

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