assign

fun assign(vararg nodes: Element)(source)

The assign() method of the HTMLSlotElement interface sets the slot's manually assigned nodes to an ordered set of slottables. The manually assigned nodes set is initially empty until nodes are assigned using assign().

MDN Reference


fun assign(vararg nodes: Text)(source)