indexOf(child)
Class: UIComponent.
Description:
Gets an index of a specified child component.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
object |
A child of this component. |
Returns:
Returns an index of a specified child component or -1 if the specified component is not a child fo this component.
Type: number
