New to Kendo UI for Angular? Start a free 30-day trial
BreadCrumbComponent
Represents the Kendo UI Breadcrumb component for Angular.
ts
@Component({
selector: 'my-app',
template: `
<kendo-breadcrumb
[items]="items"
(itemClick)="onItemClick($event)">
</kendo-breadcrumb>
`
})
class AppComponent {
public items: BreadCrumbItem[] = [
{ text: 'Home', title: 'Home', icon: 'home' },
{ text: 'Kids', title: 'Kids' },
{ text: '8y-16y', title: '8y-16y', disabled: true },
{ text: 'New collection', title: 'New collection' },
{ text: 'Jeans', title: 'Jeans' }
];
public onItemClick(item: BreadCrumbItem): void {
console.log(item);
}
}
Selector
kendo-breadcrumb
Export Name
Accessible in templates as #kendoBreadCrumbInstance="kendoBreadCrumb"
Inputs
Name | Type | Default | Description |
---|---|---|---|
collapseMode |
|
Specifies the collapse mode of the Breadcrumb (see example). The possible values are:
For more information and example refer to the Collapse Modes article. | |
items |
|
The collection of items that will be rendered in the Breadcrumb. | |
separatorIcon |
|
Defines a name of a built-in icon in a Kendo UI theme. | |
separatorSVGIcon |
|
Defines an | |
size |
|
Specifies the padding of all Breadcrumb elements. The possible values are:
|
Events
Name | Type | Description |
---|---|---|
itemClick |
|
Fires when a Breadcrumb item is clicked. The event will not be fired by disabled items and the last item. |