getIndex(child) → {integer}
Get the index position of the given child in this group, which should match the child's z
property.
Parameters
Name | Type | Description |
---|---|---|
child | any | The child to get the index for. |
Returns
integer -
The index of the child or -1 if it's not a member of this group.
- Source code: core/Group.js (Line 1029)
Please login to continue.