The Slotable mixin defines features that allow nodes to become
contents of a <slot> element — the following features are included
both web.Element and web.Text.
The Slotable mixin defines features that allow nodes to become contents of a `<slot>` element — the following features are included both `web.Element` and `web.Text`.
(assigned-slot this)Property.
[Read Only]
The assignedSlot read-only property of the web.shadow-dom.Slotable
returns an web.shadow-dom.HTMLSlotElement representing the
element the node is inserted in.
var slotElement = elementInstance.assignedSlot
See also: https://developer.mozilla.org/en-US/docs/Web/API/Slotable/assignedSlot
Property. [Read Only] The assignedSlot read-only property of the `web.shadow-dom.Slotable` returns an `web.shadow-dom.HTMLSlotElement` representing the element the node is inserted in. `var slotElement = elementInstance.assignedSlot` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Slotable/assignedSlot`
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |