SideNavItemAttributes

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

Properties

Link copied to clipboard
const val current: String

Whether the item's path matches the current browser URL.

Link copied to clipboard
const val disabled: String

If true, the user cannot interact with this element.

Link copied to clipboard
const val expanded: String

Whether to show the child items or not

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 matchNested: String

Whether to also match nested paths / routes. false by default.

Link copied to clipboard
const val path: String

The path to navigate to

Link copied to clipboard
const val routerIgnore: String

Whether to exclude the item from client-side routing. When enabled, this causes the item to behave like a regular anchor, causing a full page reload. This only works with supported routers, such as the one provided in Vaadin apps, or when using the side nav onNavigate hook.

Link copied to clipboard
const val target: String

The target of the link. Works only when path is set.

Link copied to clipboard
const val theme: String

The theme variants to apply to the component.