addChild(component, [data_or_index])
Class: InternalWindowContainer. Method inherited from UIComponent.
Description:
Adds a child component to this container component.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
Object |
UI Component that can be a child of this component. |
|
|
any |
Argument to pass some extra data (such as Tab Name to add Panel to Tabs), or index at which to insert the child. By default component is added to the end. |
Returns:
Returns an instance of this component.
Type: this
