ButtonGroup
Constructors
new
ButtonGroup
Description
Creates a collection that buttons can be added to.
Members
selected
Description
Gets or sets the index of the button that is selected, the value must be from 0 to the amount of buttons in the group. This returns null if no item is selected.
Methods
appendChild(button)
Description
Append child adds the passed in button as a segment in the group.
Parameters
Name | Type | Description |
---|---|---|
button | Button | A button to add as a segment to the group. |
removeChild(button)
Description
Remove child removes the passed in button from the group.
Parameters
Name | Type | Description |
---|---|---|
button | Button | The button to remove as a segment to the group. |