Manages pop-ups for all children of a root component (usually, all children
of a Stage
).
Available since
1.0.0
.See also:
Variables
root:DisplayObjectContainer
The container where pop-ups are added. If not set manually, defaults to the stage.
Available since
1.0.0
.overlayFactory:() ‑> DisplayObject
A function that returns a display object to use as an overlay for modal pop-ups.
Available since
1.0.0
.Methods
addPopUp(popUp:DisplayObject, isModal:Bool = true, isCentered:Bool = true, ?customOverlayFactory:() ‑> DisplayObject):DisplayObject
Adds a pop-up.
Available since
1.0.0
.isTopLevelPopUp(target:DisplayObject):Bool
Determines if a display object is above the highest modal overlay. If there are no modals overlays, determines if a display object is a pop-up.
Available since
1.0.0
.