Static variables
staticinlineread onlyITEM_ROLL_OVER:EventType<MenuEvent> = "itemRollOver"
The MenuEvent.ITEM_ROLL_OVER event type is dispatched when an item
renderer is rolled over with a mouse.
Available since
1.4.0
.staticinlineread onlyITEM_TRIGGER:EventType<MenuEvent> = "itemTrigger"
The MenuEvent.ITEM_TRIGGER event type is dispatched when an item
renderer is clicked or tapped.
Available since
1.4.0
.staticinlineread onlyMENU_CLOSE:EventType<MenuEvent> = "menuClose"
The MenuEvent.MENU_CLOSE event type is dispatched when a menu in a
MenuBar is opened.
Available since
1.4.0
.staticinlineread onlyMENU_OPEN:EventType<MenuEvent> = "menuOpen"
The MenuEvent.MENU_OPEN event type is dispatched when a menu in a
MenuBar is opened.
Available since
1.4.0
.Static methods
staticdispatch(dispatcher:IEventDispatcher, type:String, state:MenuItemState):Bool
Dispatches a pooled event with the specified properties.
MenuEvent.dispatch(component, MenuEvent.ITEM_TRIGGER, state);Available since
1.4.0
.