The ui5-breadcrumbs-item component defines the content of an item in ui5-breadcrumbs.
Properties
accessibleName
| Description | Defines the accessible ARIA name of the item. |
| Type | string | undefined |
| Default | undefined |
href
| Description | Defines the link href. Note: Standard hyperlink behavior is supported. |
| Type | string | undefined |
| Default | undefined |
target
| Description | Defines the link target. Available options are: - _self - _top - _blank - _parent - _search Note: This property must only be used when the href property is set. |
| Type | string | undefined |
| Default | undefined |
Slots
default
| Description | Defines 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. |
| Type | Array<Node> |
Events
click
| Description | Fired 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. |
| Type | CustomEvent<BreadcrumbsItemClickEventDetail> |
| Parameters | altKey: 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. |
| Since | 2.10.0 |
| Bubbles | Yes |
| Cancelable | Yes - 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.