Component โ€บ addChild

Component.addChild() method

Adds a child component, loading it if this component is loaded

Signature:

addChild<T extends Component>(component: T): T;

Parameters

ParameterTypeDescription
componentT

Returns:

T