Manages the layout and positioning of a pop-up displayed by a component like ComboBox or PopUpListView.

Events:

openfl.events.Event.OPEN

Dispatched when the pop-up adapter opens, and IPopUpAdapter.active changes to true.

openfl.events.Event.CLOSE

Dispatched when the pop-up adapter closes, and IPopUpAdapter.active changes to false.

Available since

1.0.0

.

See also:

Variables

read onlyactive:Bool

Indicates if the pop-up is currently active or not.

Available since

1.0.0

.

See also:

read onlypersistent:Bool

Indicates if the pop-up adapter should manage its own closing, or if it should allow the source to close the pop-up.

Available since

1.0.0

.

Methods

close():Void

Hides the pop-up.

When the callout closes, it will dispatch an event of type Event.CLOSE.

Available since

1.0.0

.

See also:

open(content:DisplayObject, source:DisplayObject):Void

Displays the pop-up.

When the adapter opens, it will dispatch an event of type Event.OPEN.

Available since

1.0.0

.

See also: