kor TürkçeGitHub

Breadcrumbs

Shows where the user is and leads back up.

kor/ui/BreadcrumbsSource

When to use

  • Use it on pages more than two levels deep.

Examples

Path to a record

Loading the example

<k:Breadcrumbs select=".onSelect">
	<k:Crumb key="home" text="Home"/>
	<k:Crumb key="sales" text="Sales"/>
	<k:Crumb key="orders" text="Orders"/>
	<k:Crumb text="4711"/>
</k:Breadcrumbs>

API

Properties

NameTypeDefaultDescription
labelstringAccessible name

Aggregations

NameTypeDescription
itemsCrumb[]Steps. The last one is the current location

Events

NameTypeDescription
selectkey: stringA step was chosen. preventDefault stops navigation

Crumb

A breadcrumb step.

Properties

NameTypeDefaultDescription
keystringKey
textstringText
hrefstringAddress. When empty, only the select event fires

Related

LinkRecordPage