Content:
- Examples
- Properties
- Methods

A menu is a list of options or actions presented to the user as a popup.

men = ui.addMenu( parent, list?, options?, width?, height? ) → ui object: Menu

Here are the available methods for Menu Component.

Examples

Example - Basic menu click to expand contents 

Example - Changing anchor component click to expand contents 

Example - With icons and disabled items click to expand contents 

Example - Anchor position on mouse / touch click to expand contents 

Properties

The following properties are available on the Menu object:

itemPaddingList
listList

Methods

The following methods are available on the Menu object:

getEnabled( index ) → Boolean
getEnabledByName( name ) → Boolean
hide()