NavVis IVION API
    Preparing search index...

    Interface SidebarMenuServiceInterface

    Use ApiInterface.ui.topBarService (TopBarServiceInterface) instead.

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

    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
    • Slides the Sidebar Menu user interface out of view.

      Returns Promise<void>

    • Opens the SidebarMenuItemInterface.

      Note: only works for items that are visible in the menu.

      Parameters

      Returns Promise<void>

      Promise that resolves when navigation has completed and rejects if user has canceled the action (e.g. to keep unsaved changes in the current view).

    • Slides the Sidebar Menu user interface into view.

      Returns Promise<void>