Selector
bp-breadcrumbs

Interfaces

You can import the following interfaces from epsilon-blueprint to properly type your inputs.

Interface imports
InputTypeNotes
BreadcrumbInterfaceinterface

Interface for typing a crumbs object.

See crumbs.

Inputs

Crumbs

The crumbs Input is an array of objects typed as BreadcrumbInterface[]. It is the only Input on the bp-breadcrumbs component. The keys and expected values are listed below.

Breadcrumbs inputs
InputTypeDescriptionNotes
textstringThe text used for the crumb's text.

Required for all crumbs.

bpRouterLinkstringThe crumb's routerLink value.

Either bpRouterLink or href is required for all but the last crumb. If neither are provided, the breadcrumb will be a button.

Invalid for the last crumb.

hrefstringThe crumb's href value.

Either bpRouterLink or href is required for all but the last crumb. If neither are provided, the breadcrumb will be a button.

Invalid for the last crumb.

targetstringThe crumb's target value.Invalid for the last crumb.
bpIDstringThe value for the breadcrumb's id attribute.

Ids must only be used once per page.

Ids should be camelCase, e.g.: #myId.

See identifiers.

Outputs

Breadcrumbs outputs
OutputTypeDescription
clickCrumbBreadcrumbInterfaceWhen neither bpRouterLink or href is provided in a breadcrumb, the breadcrumb acts as a button. When clicked the breadcrumb object is emitted.

Identifiers

Identifiers
IDDescription
bpIDThe unique identifier for the breadcrumbs component.
bpID + 'Crumb' + iThe unique identifier for each crumb.