removeChild(child_or_index, [recursive])
Class: UIComponent.
Description:
Removes component's child by child object or child index.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
|
|
object | number |
Child component object or index of the child. |
|
|
|
boolean |
false |
Boolean indicates if all descendents of this child should also be removed. |
