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

Events:

openfl.events.Event.CHANGE

Dispatched when IToggle.selected changes.

Available since

1.0.0

.

Variables

selected:Bool

Indicates if the IToggle is selected or not.

Dispatches openfl.events.Event.CHANGE when the value changes. The same event is dispatched whether this property is changed through user interaction or by passing in a new value programmatically.

Available since

1.0.0

.