BreadcrumbItem
BreadcrumbItem is required to be used within Breadcrumb.
Demos
See the demos of Breadcrumb.
API
Props
| Name | Type | Default | Description |
|---|
to | string|Object | - | The target location. See Link's to prop. |
type | string | 'link' | The type of the item. | Value | Description |
|---|
link | Hyperlink. | text | Pure text. |
|
native | boolean | false | When set to true and to is specified, native <a> element will be used and to will be set as the href attribute to this <a> element. |
Slots
| Name | Description |
|---|
default | The content of the breadcrumb item. |
Events
| Name | Description |
|---|
redirect | Triggered when clicking the item with type value link. The callback parameter list is (event: Event). event is a native click event object. |
Icons
| Name | Description |
|---|
separator | The separator between adjacent breadcrumb items. |