Documentation - v19.2.0-dev
    Preparing search index...
    interface ToolbarItemContext {
        closeAllMenus: () => void;
        closeParentMenu: () => void;
        container: "toolbar" | "dock";
        isInsideMenu: boolean;
        isToolbarDisabled: boolean;
    }
    Index

    Properties

    closeAllMenus: () => void

    Close all opened menus

    Type Declaration

      • (): void
      • Returns void

    closeParentMenu: () => void

    Closes the parent menu from the child item. (If applicable, otherwise, does nothing).

    Type Declaration

      • (): void
      • Returns void

    container: "toolbar" | "dock"

    Indicates if the item is inside a dock or the toolbar

    isInsideMenu: boolean

    Indicates if an item in inside a menu

    isToolbarDisabled: boolean

    Indicated if the toolbar is disabled