9.0.0 • Published 4 years ago

a4-http-overlay-interceptor v9.0.0

Weekly downloads
2
License
MIT
Repository
-
Last release
4 years ago

a4-http-overlay-interceptor

Angular 7 Http Overlay Interceptor

How-To

Install

npm install a4-http-overlay-interceptor

app.module.ts

  1. Add HttpOverlayModule to imports of the app.module.ts.
...
import { HttpOverlayModule } from 'a4-http-overlay-interceptor';
...

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    ...,
    HttpOverlayModule,
    ...
  ],
  ...
})

Inject the service

constructor(private httpOverlayService: HttpOverlayService) { }

Show/Hide the Spinner

this.httpOverlayService.setOverlayCallBacks(
    () => {
        ... // show spinner code
    }, () => {
        ... // hide spinner code
    }
);
9.0.0

4 years ago

8.0.0

5 years ago

7.0.0

6 years ago

6.0.3

6 years ago

6.0.2

6 years ago

6.0.1

6 years ago

5.0.2

7 years ago

5.0.1

7 years ago

5.0.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago