Constructs an exclusive button group.
Private m_Returns true if events are blocked; otherwise returns false.
If blocked is true, then events emitted by this event watcher will be blocked, meaning that emitting an event will not trigger any callback functions that are bound to it.
This property is the same as toggledButton.
Returns the button group's checked button, or undefined if no button is checked.
Sets the button group's checked button to button. If the button is checked and has been in the group, this function does nothing.
Static senderReturns the object that sent the event.
Adds a callback function that's going to be called when the event is emitted.
Rest ...data: EventMap[K]Rest ...data: any[]Delegates this event watcher to handle the given watcher's event named name.
Emits an arbitrary set of arguments to the callback function which is bound to the event named name.
Rest ...data: EventMap[K]Rest ...data: any[]Removes the specified watcher for the event named name.
Generated using TypeDoc
The ButtonGroup is an exclusive button group, then only one button in the group can be checked at any time.