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.
note
For examples of using the Tab
component, go to the documentation TabGroup.
Attributes and Properties
panel
Description | Názov panelu, ku ktorému je tab priradený. |
Attribute | undefined |
Type | string |
Default | undefined |
route
Description | Cesta (route), na ktorú sa vykoná navigácia pri kliknutí. |
Attribute | undefined |
Type | string |
Default | undefined |
last
Description | Indikuje, či ide o posledný tab. |
Attribute | undefined |
Type | boolean |
Default | undefined |
Events
Name | Description |
---|---|
undefined | Vyvolané pri kliknutí na tab, indikujúce zmenu tabu. |
Methods
No public methods available for this component.
CSS Shadow Parts
Name | Description |
---|---|
native | Odkazuje na a element tabu. |
CSS Custom Properties
Name | Description |
---|---|
--wje-tab-text-transform | Transformácia textu tabu. |
--wje-tab-font-weight | Hrúbka písma textu tabu. |
--wje-tab-letter-spacing | Medzery medzi znakmi v texte tabu. |
--wje-tab-padding-inline | Horizontálne odsadenie obsahu tabu. |
--wje-tab-padding-top | Vertikálne odsadenie hore. |
--wje-tab-padding-bottom | Vertikálne odsadenie dole. |
--wje-tab-color-active | Farba textu aktívneho tab elementu. |
--wje-tab-color-hover | Farba textu pri prechode myšou. |
Slots
Name | Description |
---|---|
`` | Predvolený slot pre obsah tabu. |