Skip to main content

Tab

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.

note

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

Attributes and Properties

panel

DescriptionNázov panelu, ku ktorému je tab priradený.
Attributeundefined
Typestring
Defaultundefined

route

DescriptionCesta (route), na ktorú sa vykoná navigácia pri kliknutí.
Attributeundefined
Typestring
Defaultundefined

last

DescriptionIndikuje, či ide o posledný tab.
Attributeundefined
Typeboolean
Defaultundefined

Events

NameDescription
undefinedVyvolané pri kliknutí na tab, indikujúce zmenu tabu.

Methods

No public methods available for this component.

CSS Shadow Parts

NameDescription
nativeOdkazuje na a element tabu.

CSS Custom Properties

NameDescription
--wje-tab-text-transformTransformácia textu tabu.
--wje-tab-font-weightHrúbka písma textu tabu.
--wje-tab-letter-spacingMedzery medzi znakmi v texte tabu.
--wje-tab-padding-inlineHorizontálne odsadenie obsahu tabu.
--wje-tab-padding-topVertikálne odsadenie hore.
--wje-tab-padding-bottomVertikálne odsadenie dole.
--wje-tab-color-activeFarba textu aktívneho tab elementu.
--wje-tab-color-hoverFarba textu pri prechode myšou.

Slots

NameDescription
``Predvolený slot pre obsah tabu.