remove(child, destroy, silent) → {boolean}
Removes the given child from this group.
This will dispatch an onRemovedFromGroup
event from the child (if it has one), and optionally destroy the child.
If the group cursor was referring to the removed child it is updated to refer to the next child.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
child | any | The child to remove. | ||
destroy | boolean | <optional> | false | If true |
silent | boolean | <optional> | false | If true the the child will not dispatch the |
Returns
boolean -
true if the child was removed from this group, otherwise false.
- Inherited From
- Source code: core/Group.js (Line 2431)
Please login to continue.