The Slotable mixin defines features that allow nodes to become
contents of a web.<slot>
element — the following features are
in both web.Element
and web.Text
.
The Slotable mixin defines features that allow nodes to become contents of a `web.<slot>` element — the following features are in both `web.Element` and `web.Text`.
(assigned-slot this)
Property.
The assignedSlot read-only property of the web.Slotable
interface
an html.HTMLSlotElement
representing the web.<slot>
element
node is inserted in.
var slotElement = elementInstance.assignedSlot
See also: https://developer.mozilla.org/en-US/docs/Web/API/Slotable/assignedSlot
Property. The assignedSlot read-only property of the `web.Slotable` interface an `html.HTMLSlotElement` representing the `web.<slot>` element node is inserted in. `var slotElement = elementInstance.assignedSlot` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Slotable/assignedSlot`
(set-assigned-slot! this val)
Property.
The assignedSlot read-only property of the web.Slotable
interface
an html.HTMLSlotElement
representing the web.<slot>
element
node is inserted in.
var slotElement = elementInstance.assignedSlot
See also: https://developer.mozilla.org/en-US/docs/Web/API/Slotable/assignedSlot
Property. The assignedSlot read-only property of the `web.Slotable` interface an `html.HTMLSlotElement` representing the `web.<slot>` element node is inserted in. `var slotElement = elementInstance.assignedSlot` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Slotable/assignedSlot`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close