View source
class SubMenuPopUpAdapter
package feathers.controls.popups
extends EventDispatcher
implements IPopUpAdapter
Displays a pop-up like a sub-menu, positioned relative to the top-right corner of the source menu item.
Events:
openfl.events.Event.OPEN | Dispatched when the pop-up adapter opens,
and |
---|---|
openfl.events.Event.CLOSE | Dispatched when the pop-up adapter closes,
and |
Available since
1.4.0
.Constructor
Variables
closeOnPointerActiveOutside:Bool = false
Determines if the content is closed when a mouse down or touch begin event is dispatched outside of the content's or origin's bounds.
Available since
1.4.0
.modal:Bool = false
Determines if the content is displayed modally on the pop-up manager.
Available since
1.4.0
.Methods
close():Void
See also:
feathers.controls.popups.IPopUpAdapter.close
When the adapter closes, it will dispatch an event of typeEvent.CLOSE
.