View source
class DropDownPopUpAdapter
package feathers.controls.popups
extends EventDispatcher
implements IPopUpAdapter
Displays a pop-up like a drop-down, either below or above the source.
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.0.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.1.0
.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.
Available since
1.0.0
.modal:Bool = false
Determines if the content is displayed modally on the pop-up manager.
Available since
1.0.0
.Methods
close():Void
See also:
feathers.controls.popups.IPopUpAdapter.close
When the adapter closes, it will dispatch an event of typeEvent.CLOSE
.