Widgets

Breadcrumb

Description

A breadcrumb is a secondary navigation scheme that allows the user to see where the current page is in relation to the website or web application’s hierarchy. In terms of usability, using a breadcrumb reduces the number of actions a visitor needs to take in order to get to a higher-level page.

Options

Attribute Type Description
attributes string[] Array of attributes to use to craft the Breadcrumb
rootPath? string Prefix path to use if the first level is not the root level
autoHideContainer? boolean Hides the breadcrumb if there’s no item to display

Code example

<ais-breadcrumb [attributes]="[ 'hierarchicalCategories.lvl0', 'hierarchicalCategories.lvl1', 'hierarchicalCategories.lvl2' ]" > </ais-breadcrumb>

Can't find what you are looking for? Open an issue, we'll get back to you.