Skip to main content

Interface: IMenuContainer

Manager and container for IMenu objects

Methods

createMenu()

createMenu(props): IMenu

Parameters

ParameterTypeDescription
propsIMenuCreationParamsConfiguration for the menu to create

Returns

IMenu

Remarks

Create a top level item in the container.


getMenu()

getMenu(id): Promise ↗️ <IMenu>

Parameters

ParameterTypeDescription
idstringMenu identifier

Returns

Promise ↗️ <IMenu>

Remarks

Search for a menu item, if it's not found defer it to next tick.