Skip to main content

Header

<gstock-header> | GstockHeader

API

Propiedades

Nombre Descripción Reflects Tipo Por defecto
avatar The user avatar image. string ''
disabled Disables the header Reflects boolean false
hiddenLogo
hidden-logo
Indicate if the logo is hidden. Reflects boolean false
initials The user initials used in avatar (1–2 characters max recommended). string ''
orientation The orientation of the navigation items. Reflects 'horizontal' | 'vertical' 'horizontal'
position The positioning type. The behavior of the different options. Learn more. 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky' 'relative'
title The title header for show the title of the application. string ''
updateComplete

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

Aprende más sobre atributos y propiedades .

Eventos

Nombre React Event Descripción Event Detail
gstock-toggle-menu-event onGstockToggleMenuEvent Emitted when the toggle menu changes. -

Aprende más sobre eventos .

Partes

Nombre Descripción
logo The logo part.

Aprende más sobre partes CSS .

Dependencias

Este componente importa automáticamente las siguientes dependencias.