Skip to main content

SideNavigationSubItem

Represents a single navigation action within ui5-side-navigation-item. The ui5-side-navigation-sub-item is intended to be used inside a ui5-side-navigation-item only.

ES6 Module Import​

import "@ui5/webcomponents-fiori/dist/SideNavigationSubItem.js";

Properties​

icon​

DescriptionDefines the icon of the item.
The SAP-icons font provides numerous options.
See all the available icons in the Icon Explorer.
Typestring
Default""

selected​

DescriptionDefines whether the item is selected
Typeboolean
Defaultfalse

href​

DescriptionDefines the link target URI. Supports standard hyperlink behavior. If a JavaScript action should be triggered, this should not be set, but instead an event handler for the click event should be registered.
Typestring
Default""
Since1.19.0

target​

DescriptionDefines the component target.
Notes:
- _self
- _top
- _blank
- _parent
- _search
This property must only be used when the href property is set.
Typestring
Default""
Since1.19.0

Slots​

No slots available for this component.

Events​

click​

DescriptionFired when the component is activated either with a click/tap or by using the [Enter] or [Space] keys.
TypeCustomEvent

Methods​

No methods available for this component.

CSS Parts​

No CSS parts available for this component.