A toggle associated with a specific group.

Available since

1.0.0

.

See:

Variables

toggleGroup:ToggleGroup

The ToggleGroup that this toggle has been added to, or null if the toggle has not been added to a group.

Available since

1.0.0

.

Inherited Variables

Defined by IToggle

selected:Bool

Indicates if the IToggle is selected or not.

Available since

1.0.0

.

Defined by IUIControl

enabled:Bool

Indicates whether the control should respond when a user attempts to interact with it. The appearance of the control may also be affected by whether the control is enabled or disabled.

The following example disables a component:

component.enabled = false;
Available since

1.0.0

.

Inherited Methods

Defined by IUIControl

initializeNow ():Void

If the component has not yet initialized, initializes immediately. The FeathersEvent.INITIALIZE event will be dispatched. To both initialize and validate immediately, call validateNow() instead.

Available since

1.0.0

.