SheetXL - v0.3.20
    Preparing search index...

    Variable CommandButtonTypeConst

    CommandButtonType: { Menuitem: "menuitem"; Toolbar: "toolbar" }

    Follow useCommandsButtons. pattern createCommandButtonSet

    Use ProviderContext or just set a singleton. (research why/which)

    Register icon, label, description { commandManager.createButton( commands.getCommand('formatAlignLeftToggle'), CommandButtonType.TOOLBAR ) }

    Register factory for each type of Command Register configuration for each key

    When registering to a component also

    Type declaration

    • Suitable for menus. HoverIn to open, hover leave to close, generally disabled as icon and text

    • ReadonlyToolbar: "toolbar"

      Suitable for toolbars. Click to open, click to close, generally disabled as icon