assignedElements

external fun assignedElements(options: AssignedNodesOptions = definedExternally): ReadonlyArray<Element>(source)

The assignedElements() method of the HTMLSlotElement interface returns a sequence of the elements assigned to this slot (and no other nodes).

MDN Reference