BreadcrumbItem
Examples
See Breadcrumb examples.
API
Props
| Name | Type | Default | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
to | string | Object | - | The address to go to after clicking on the breadcrumb item. See the to prop of the Link component. | ||||||
type | string | 'link' | The type of breadcrumb item.
| ||||||
native | boolean | false | When true and to is specified, the native <a> element will be used directly, and the to value will be set to the href attribute of the <a> tag. |
Slots
| Name | Description |
|---|---|
default | The content area of the breadcrumb item. |
Events
| Name | Description |
|---|---|
redirect | The event triggered when an item with type of link is clicked. The callback parameter is (event: Event), which directly passes through the native click event object. |
Separator
| Name | Description |
|---|---|
separator | The separator between adjacent breadcrumb items. |