SideNavAttributes

Attribute names of <vaadin-side-nav>, for use with setAttribute.

Properties

Link copied to clipboard
const val collapsed: String

Whether the side nav is collapsed. When collapsed, the items are hidden.

Link copied to clipboard
const val collapsible: String

Whether the side nav is collapsible. When enabled, the toggle icon is shown.

Link copied to clipboard
const val i18n: String

The object used to localize this component. To change the default localization, replace this with an object that provides all properties, or just the individual properties you want to change.

Link copied to clipboard
const val location: String

A change to this property triggers an update of the highlighted item in the side navigation. While it typically corresponds to the browser's URL, the specific value assigned to the property is irrelevant. The component has its own internal logic for determining which item is highlighted.

Link copied to clipboard
const val noAutoExpand: String

Whether to expand parent items of the nested matching item after initial rendering or navigation. By default, all the parent items are expanded. Set to true to disable this behavior.

Link copied to clipboard
const val theme: String

The theme variants to apply to the component.