Interface: IMenuContainer
Manager and container for IMenu objects
Methods
createMenu()
createMenu(
props
):IMenu
Parameters
Parameter | Type | Description |
---|---|---|
props | IMenuCreationParams | Configuration for the menu to create |
Returns
Remarks
Create a top level item in the container.
getMenu()
getMenu(
id
):Promise ↗️
<IMenu
>
Parameters
Parameter | Type | Description |
---|---|---|
id | string | Menu identifier |
Returns
Remarks
Search for a menu item, if it's not found defer it to next tick.