An interface for a user interface component that may be selected.

Available since

1.0.0

.

Variables

selected:Bool

Indicates if the IToggle is selected or not.

Available since

1.0.0

.

Inherited Variables

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

.