Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

OnTabChangeCallback

OnTabChangeCallback: (this: TabView, index: number) => boolean

Client side callback to execute when a tab is clicked. If the callback returns false, the tab is not selected. See also TabViewCfg.onTabChange.

Type declaration

    • (this: TabView, index: number): boolean
    • Parameters

      • this: TabView
      • index: number

        0-based index of the tab that is about to be selected.

      Returns boolean

      true to switch to the tab, false to stay at the current tab.

OnTabCloseCallback

OnTabCloseCallback: (this: TabView, index: number) => boolean

Client side callback to execute on tab close. When the callback returns false, the tab is not closed. See also TabViewCfg.onTabClose.

Type declaration

    • (this: TabView, index: number): boolean
    • Parameters

      • this: TabView
      • index: number

        0-based index of the tab that is about to be closed.

      Returns boolean

      true to close the tab, false to keep the tab open.

OnTabShowCallback

OnTabShowCallback: (this: TabView, index: number) => void

Client side callback to execute when a tab is shown. See also TabViewCfg.onTabShow.

Type declaration

    • (this: TabView, index: number): void
    • Parameters

      • this: TabView
      • index: number

        0-based index of the tab that was shown.

      Returns void

Generated using TypeDoc