AboutSupportDeveloper GuideVersion 20.0.5

Type alias ShowHideTabsConfig

ShowHideTabsConfig: {
    disabled?: boolean;
    tabsHiddenIconUrl?: {
        disabled?: string;
        enabled?: string;
    };
    tabsShownIconUrl?: {
        disabled?: string;
        enabled?: string;
    };
    type: ShowHideTabs;
}

Configuration Object for the show/hide tabs button within the browser toolbar

Type declaration

  • Optional disabled?: boolean
  • Optional tabsHiddenIconUrl?: {
        disabled?: string;
        enabled?: string;
    }
    • Optional disabled?: string

      The URL of the icon to display when the button is disabled and tabs are hidden.

      The button is disabled when the page is locked.

    • Optional enabled?: string

      The URL of the icon to display when the button is enabled and tabs are hidden.

  • Optional tabsShownIconUrl?: {
        disabled?: string;
        enabled?: string;
    }
    • Optional disabled?: string

      The URL of the icon to display when the button is disabled and tabs are hidden.

      The button is disabled when the page is locked.

    • Optional enabled?: string

      The URL of the icon to display when the button is enabled and tabs are hidden.

  • type: ShowHideTabs

Example

const showHideTabsConfig: ShowHideTabsConfig = {
type: BrowserButtonType.ShowHideTabs,
disabled: false
};