Slotable

The Slotable mixin defines features that allow nodes to become the contents of a <slot> element — the following features are included in both Element and Text.

Properties

Slotable.assignedSlot Read only
Returns the <slot> the node is inserted in.

Methods

None.

Specifications

Specification Status Comment
DOM
The definition of 'Slotable' in that specification.
Living Standard Initial definition.

Browser Compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes) No support No support (Yes) No support
Feature Android Android Webview Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support No support (Yes) No support No support (Yes) No support (Yes)

 

Document Tags and Contributors

 Contributors to this page: chrisdavidmills
 Last updated by: chrisdavidmills,