Skip to main content

MenuLabel

shadow

MenuLabel je podriadený elementu Menu. a môže predstavovať napríklad aj popisný text pre navigačné položky. Pre príklady použitia MenuLabel prejdite na stránku dokumentácie elementu Menu.

Atribúty a Vlastnosti

No properties available for this component.

Eventy

No events available for this component.

Metódy

No public methods available for this component.

CSS Shadow Parts

NameDescription
nativeRefers to the base slot element of the element.

CSS Custom Vlastnosti

NameDescription
--wje-menu-label-font-sizeSets the font size of the element. Accepts any valid CSS length unit (e.g. rem, px, em). The default value is .75rem.
--wje-menu-label-weightSpecifies the font thickness of the element. Accepts values such as normal, bold or numeric values (e.g. 400, 600). The default value is 600.
--wje-menu-label-colorSpecifies the text color of the element. Accepts any valid CSS color value, including variable and named colors. The default value is var(--wje-color-contrast-6).

Sloty

NameDescription
``The default slot for the element content.