MDN self-hosted library · e01.org

Text: assignedSlot property

DOM

no runnable cells web-api-instance-property upstream source

DOM

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