Displays a pop-up in a Callout component.

Events:

openfl.events.Event.OPEN

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

openfl.events.Event.CLOSE

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

Available since

1.0.0

.

Constructor

new()

Creates a new CalloutPopUpAdapter object.

Available since

1.0.0

.

Variables

fitContentToOriginWidth:Bool

Determines if the width or minWidth of the content is adjusted to match the width of the origin, when the content is smaller than the origin.

@:value(false)modal:Bool = false

Determines if the content is displayed modally on the pop-up manager.

Methods

close():Void

See also:

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