# Two.Group.Children
Extends: Two.Collection
A children collection which is accesible both by index and by object id
.
# Children.attach
Two.Group.Children.attach
Argument | Description |
---|---|
children | The objects which extend Two.Shape to be added. |
Adds elements to the ids
map.
# Children.detach
Two.Group.Children.detach
Argument | Description |
---|---|
children | The objects which extend Two.Shape to be removed. |
Removes elements to the ids
map.