ContextMenuRef
Methods
dispose()
Removed the menu and clears the associated resources.
- returns
void
update(menu)
Updates the menu.
- arguments
- menu
Array<MenuItem>
- menu
- returns
void
show(x, y)
Shows the ContextMenu at the specified x and y positions.
- arguments
- x
number
- y
number
- x
- returns
void
Properties
items
Menu items.
- type
Array<MenuItem>