Skip to main content

Navigation Menu

<gstock-navigation-menu> | GstockNavigationMenu

API

Propiedades

Nombre Descripción Reflects Tipo Por defecto
icon The icon name of the menu. string | undefined -
label The label of the menu. string ''
updateComplete

A read-only promise that resolves when the component has finished updating.

Aprende más sobre atributos y propiedades .

Slots

Nombre Descripción
default The default slot.
expand-icon The icon to show when the navigation menu item is expanded. Works best with <gstock-icon>.
collapse-icon The icon to show when the navigation menu item is collapsed. Works best with <gstock-icon>.

Aprende más sobre slots .

Propiedades personalizadas

Nombre Descripción Default
--indent-size The size of the indentation for nested items. var(–gstock-legacy-spacing-5)

Aprende más sobre propiedades personalizadas .

Partes

Nombre Descripción
base The component’s base wrapper.

Aprende más sobre partes CSS .