Tab
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
Description | If true , the tab will be open. |
Attribute | active |
Type | boolean |
Default | false |
panel
Description | The identifier of the panel name that appears when you click on the tab. |
Attribute | panel |
Type | any |
Default | undefined |
Events
Name | Description |
---|---|
wj:tab-change | Called up when the slider value is changed. |
Methods
setActive
Description | Set the active component for the tab |
Signature | setActive() => 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.