Liking cljdoc? Tell your friends :D

web.Slotable

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

assigned-slotcljs

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

set-assigned-slot!cljs

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

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

× close