Slots (Beta)
Slots (Beta)
The slot instance element represents a slot within a component instance. Slots define areas within a component where instance-level child content can be placed. Each slot accepts only component instances as children, not arbitrary elements.
To get slot instance elements, use element.getSlots() on a ComponentInstance element.
Beta
These methods are in public beta and may change with future releases.
Methods
Currently you can add components as children of slots programmatically but not remove them.