Liking cljdoc? Tell your friends :D
ClojureScript only.

web.shadow-dom.Slotable

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`.
raw docstring

assigned-slotcljs

(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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close