5.20231.904
wijmo.nav Class Tab Wijmo API Class

Tab Class

Represents a tab within a TabPanel control.

Tabs have two elements: a header and a pane. The header displays the tab title and the pane represents the tab content.

Heirarchy

Constructors

constructor

  • new Tab(header: any, pane: any): Tab
  • Initializes a new instance of the Tab class.

    Parameters

    • header: any

      Element or CSS selector for the element that contains the Tab header.

    • pane: any

      Element or CSS selector for the element that contains the Tab content.

    Returns Tab

Properties

header

header: HTMLElement

Gets the tab's header element.

isDisabled

isDisabled: boolean

Gets or sets a value that determines whether this Tab is disabled.

isVisible

isVisible: boolean

Gets or sets a value that determines whether this Tab is visible.

pane

pane: HTMLElement

Gets the tab's content element.

tabPanel

tabPanel: TabPanel

Gets a reference to the TabPanel that contains this Tab.