ngx-progressbar
Version:
<p align="center"> <img height="200px" width="200px" style="text-align: center;" src="https://gitcdn.xyz/repo/MurhafSousli/ngx-progressbar/master/projects/ngx-progressbar-demo/src/assets/logo.svg"> <h1 align="center">Angular Progressbar</h1> </p>
21 lines (20 loc) • 923 B
TypeScript
import { HttpInterceptor, HttpEvent, HttpHandler, HttpRequest } from '@angular/common/http';
import { Observable } from 'rxjs';
import { NgProgress } from 'ngx-progressbar';
import { NgProgressHttpConfig } from './ng-progress-http.interface';
import * as i0 from "@angular/core";
export declare class NgProgressInterceptor implements HttpInterceptor {
protected ngProgress: NgProgress;
private _inProgressCount;
private _progressRef;
private readonly _config;
constructor(ngProgress: NgProgress, config?: NgProgressHttpConfig);
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
/**
* Check if request is silent.
* @param req request
*/
private checkUrl;
static ɵfac: i0.ɵɵFactoryDeclaration<NgProgressInterceptor, [null, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<NgProgressInterceptor>;
}