Manager and container for IMenu objects

interface IMenuContainer {
    createMenu(props: IMenuCreationParams): IMenu;
    getMenu(id: string): Promise<IMenu>;
}

Methods

  • Beta

    Parameters

    • id: string

      Menu identifier

    Returns Promise<IMenu>

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