2.0.6 • Published 3 years ago

ng-loading-spinner v2.0.6

Weekly downloads
104
License
-
Repository
-
Last release
3 years ago

Simple loading spinner for Angular (>= 7.x)

This library was generated with Angular CLI version 10.2.0.

Installation

npm install ng-loading-spinner --save

Screenshot

Screenshot

Usage

Import NgLoadingSpinnerModule in the root module

import { NgLoadingSpinnerModule, NgLoadingSpinnerInterceptor } from 'ng-loading-spinner';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';

@NgModule({
  providers: [
    // ...
    { provide: HTTP_INTERCEPTORS, useClass: NgLoadingSpinnerInterceptor, multi: true }
  ],
  imports: [
    // ...
    HttpClientModule,
    NgLoadingSpinnerModule,
    // ...
  ]
})

And just put the component in root html

 <ng-loading-spinner top="100" color="green"></ng-loading-spinner>

Customization

Use top and color inputs for basic customization.

Funding

Buy me a cup of coffee. Thank you.

Paypal.me

2.0.3

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.6

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

5 years ago

1.0.3

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago