A UI component that may be opened or closed.

Events:

openfl.events.Event.OPEN

Dispatched when the opened property is changed to true.

openfl.events.Event.CLOSE

Dispatched when the opened property is changed to false.

Available since

1.0.0

.

Variables

opened:Bool

Indicates if the toggle is opened or closed.

Dispatches an event of type openfl.events.Event.OPEN when changed to true, and dispatches an event of type openfl.events.Event.CLOSE when changed to false.

Available since

1.0.0

.