Interface: IMenu
Properties
checked?
optional
checked:boolean
Remarks
If defined, the menu will show a checked or unchecked checkbox.
id
readonly
id:string
Remarks
Unique ID for the menu
submenu
readonly
submenu:IMenu
[]
Remarks
Sub menus of this menu
Methods
addItem()
addItem(
params
,action
?):IMenu
Parameters
Parameter | Type |
---|---|
params | IMenuCreationParams |
action ? | RegisteredAction <NoArgsAction > |
Returns
dispose()
dispose():
void
Returns
void
hide()
hide():
void
Returns
void
replaceAction()
replaceAction(
action
):void
Parameters
Parameter | Type |
---|---|
action | RegisteredAction <NoArgsAction > |
Returns
void
show()
show():
void
Returns
void