Client- Side API Reference / TabPanel / Tab Class
Tab Class
File
wijmo.nav.js
Module
wijmo.nav

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.

Constructor

constructor

constructor(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

isDisabled

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

Type
boolean

isVisible

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

Type
boolean

pane

Gets the tab's content element.

Type
HTMLElement

tabPanel

Gets a reference to the TabPanel that contains this Tab.

Type
TabPanel