Breadcrumb

The base-breadcrumb component is an Angular component designed to display a breadcrumb trail based on the current route within an Angular application. It utilizes the BreadcrumbService to dynamically update and manage the breadcrumb data.

Usage

Place the tag in the desired location within your Angular templates to incorporate the breadcrumb component into your application.

<base-breadcrumb></base-breadcrumb>

Styling

  • The component references an external stylesheet (`breadcrumb.component.scss) for styling. Developers can customize the visual appearance of the breadcrumb trail by modifying this stylesheet.

Dependencies

  • This component relies on the BreadcrumbService and Breadcrumb model from the `@lenne.tech/ng-base/shared module to manage and retrieve breadcrumb data.

Notes

  • Ensure that the BreadcrumbService is properly configured and provided at the application level to enable breadcrumb functionality.
  • Developers can extend and customize this component to meet specific styling or functionality requirements.

This Angular component simplifies the implementation of breadcrumbs, providing a responsive and dynamically updated trail based on the application's routing structure.