@amitgroup/ng-router-loading
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

NgRouterLoading

This library was generated with Angular CLI version 12.2.0.

How to use

Step 1

Import NgRouterLoadingModule to AppModule

{
  imports: [
    ...
    NgRouterLoadingModule
    ...
  ]
}

or

{
  imports: [
    ...
    NgRouterLoadingModule.forRoot(options)
    ...
  ]
}

Step 2

Add directive ng-router-loading for root html tag (router-outlet or ng-container) in AppComponent

<router-outlet ng-router-outlet></router-outlet>

Readme

Keywords

none

Package Sidebar

Install

npm i @amitgroup/ng-router-loading

Weekly Downloads

0

Version

1.0.0

License

none

Unpacked Size

93.3 kB

Total Files

24

Last publish

Collaborators

  • amitgroup