JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q62122F
  • License MIT

ng8-breadcrumb is an Angular 8 module generating breadcrumbs based on the routing state.

Package Exports

  • ng8-breadcrumb

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ng8-breadcrumb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ng8-breadcrumb

NPM
Downloads Version

Installation

ng8-breadcrumb is available on NPM

$ npm install ng8-breadcrumb --save

Setup & Usage

Once the module has been installed, you need to include Ng8BreadcrumbModule into your root module:

import {NgxBreadcrumbModule} from 'ng8-breadcrumb';
...
@NgModule({
  imports: [
    ...
    NgxBreadcrumbModule.forRoot({
        prefix: 'Home' // default 'false'
    }),
    ...
  ],
  ...
})
export class AppModule {}

& Anywhere template component :

<ng8-breadcrumb></ng8-breadcrumb>

And finally use the service :

 constructor(private _breadcrumb: BreadcrumbService) {
    _breadcrumb.store('id', 'iPhone x');
  }

License

ng8-breadcrumb is released under MIT license.

Author

Allahyar