{{APIRef('Shadow DOM')}} {{Non-standard_header}}
The HTMLSlotElement
interface of the Shadow DOM API defines the location of a slot.
Properties
- {{domxref('HTMLSlotElement.name')}}
- The slot name.
Methods
- {{domxref('HTMLSlotElement.assignedNodes()')}}
- Returns the sequence of nodes assigned to this slot.
-
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('Shadow DOM','#the-slot-element','HTMLSlotElement')}} | {{Spec2('Shadow DOM')}} | Initial definition. |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | {{CompatChrome(53.0)}} | {{CompatNo}} | {{CompatNo}} | {{CompatUnknown}} | {{CompatNo}} |
Feature | Android | Android Webview | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatChrome(53.0)}} | {{CompatNo}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatChrome(53.0)}} |