Get Children (Beta)
Get Children (Beta)
slot.getChildren()
Get the component instances currently placed in the slot.
Beta
These methods are in public beta and may change with future releases.
Syntax
Returns
Promise<Array<ComponentElement>>
A Promise that resolves to an array of component instances in the slot.
If no slot override has been set at the instance level, this method returns an empty array even if the component defines default slot content.
Example
Designer Ability
Checks for authorization only.