Text: assignedSlot property

The read-only assignedSlot property of the Text interface returns the HTMLSlotElement object associated with the element.

Value

An HTMLSlotElement, or null if no <slot> element is associated with the text node.

Specifications

Browser compatibility