Skip to main content

Tab

Tab | Tab navigation button shadow

The Tab component is a child of the TabGroup component and serves as a tab-based navigation button. It is used in combination with the TabPanel element.

For examples of using the Tab component, go to the TabGroup documentation.

Attributes and Properties

active

DescriptionIf true, the tab will be open.
Attributeactive
Typeboolean
Defaultfalse

panel

DescriptionThe identifier of the panel name that appears when you click on the tab.
Attributepanel
Typeany
Defaultundefined

Events

NameDescription
wj:tab-changeCalled up when the slider value is changed.

Methods

setActive

DescriptionSet the active component for the tab
SignaturesetActive() => Promise<void>

CSS Shadow Parts

No CSS shadow parts available for this component.

CSS Custom Properties

No CSS custom properties available for this component.

Slots

No slots available for this component.