a4-http-overlay-interceptor
Angular 7 Http Overlay Interceptor
How-To
Install
npm install a4-http-overlay-interceptor
app.module.ts
- Add
HttpOverlayModule
to imports of theapp.module.ts
.
...;...
Inject the service
constructorprivate httpOverlayService: HttpOverlayService
Show/Hide the Spinner
this.httpOverlayService.setOverlayCallBacks,;