Interface SidebarMenuServiceInterface

interface SidebarMenuServiceInterface {
    items: SidebarMenuItemInterface[];
    closeMenu(): Promise<void>;
    getActiveItem(): SidebarMenuItemInterface;
    goToItem(item: SidebarMenuItemInterface): Promise<void>;
    goToRoot(): void;
    openMenu(): Promise<void>;
}

Properties

Menu items organized in a tree structure with an array on the root level.

Supported actions that can be performed on the retrieved items structure:

  • Adding new items in any place of the tree
  • Updating existing items
  • Deleting existing items

Methods

  • Slides the Sidebar Menu user interface out of view.

    Returns Promise<void>

  • Slides the Sidebar Menu user interface into view.

    Returns Promise<void>