MenuOpened

Methods
3
Fields
1

Methods

MethodReturnsDescription
getMenuEntries(){MenuEntry}The menu's entries, bottom first: the last is shown at the top.
setMenuEntries({MenuEntry})()Replace the event's array (what later subscribers' getMenuEntries() read).
getFirstEntry()MenuEntry?The entry shown at the top (the array's last), or nil for an empty menu.

Fields

FieldTypeDescription
__eventClassstring"MenuOpened": the class's name, which host APIs that take the class itself read.

Method details