Routing

You can utilize Angular Router and use the BreadCrumb as a navigational component.

The Router enables you to load modules which act as root modules for specific paths. Angular Router loads separate modules for separate components and bootstraps the components. This approach is useful when the paths do not share any main componentsfor example, public vs. admin sections. To use shared components, move the components into a shared module and import it in the separate module.

The navigation logic could be executed in the itemClick event handler of the Breadcrumb.

When you use the itemClick event of the BreadCrumb, the event handler gets the clicked item (route) and passes it to the navigate method of the Router.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?