Skip to main content

BreadcrumbsItem

<ui5-breadcrumbs-item> | Since 1.0.0-rc.15

The ui5-breadcrumbs-item component defines the content of an item in ui5-breadcrumbs.

Properties

accessibleName

DescriptionDefines the accessible ARIA name of the item.
Typestring | undefined
Defaultundefined

href

DescriptionDefines the link href.
Note: Standard hyperlink behavior is supported.
Typestring | undefined
Defaultundefined

target

DescriptionDefines the link target.
Available options are:
- _self
- _top
- _blank
- _parent
- _search
Note: This property must only be used when the href property is set.
Typestring | undefined
Defaultundefined

Slots

default

DescriptionDefines the text of the component.
Note: Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
TypeArray<Node>

Events

click

DescriptionFired when the component is activated either with a mouse/tap or by using the Enter or Space key.
Note: The event is also fired for the current page location item (the last item), which is not a link by design.
TypeCustomEvent<BreadcrumbsItemClickEventDetail>
ParametersaltKey: boolean
Returns whether the "ALT" key was pressed when the event was triggered.
ctrlKey: boolean
Returns whether the "CTRL" key was pressed when the event was triggered.
metaKey: boolean
Returns whether the "META" key was pressed when the event was triggered.
shiftKey: boolean
Returns whether the "SHIFT" key was pressed when the event was triggered.
Since2.10.0
BubblesYes
CancelableYes - via preventDefault()

Methods

No methods available for this component.

CSS Parts

No CSS parts available for this component.

CSS Custom States

No CSS custom states available for this component.