UNPKG

ngx-ui-loader

Version:

An all-in-one and fully customizable loader/spinner for Angular applications. It supports foreground, background spinner/loader, indicative progress bar and multiple loaders.

19 lines (18 loc) 834 B
import { HttpInterceptor, HttpEvent, HttpHandler, HttpRequest } from '@angular/common/http'; import { Observable } from 'rxjs'; import { NgxUiLoaderService } from '../core/ngx-ui-loader.service'; import { NgxUiLoaderHttpConfig } from '../utils/interfaces'; import * as i0 from "@angular/core"; export declare class NgxUiLoaderHttpInterceptor implements HttpInterceptor { private loader; private count; private config; private exclude; /** * Constructor */ constructor(customConfig: NgxUiLoaderHttpConfig, loader: NgxUiLoaderService); intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; static ɵfac: i0.ɵɵFactoryDeclaration<NgxUiLoaderHttpInterceptor, [{ optional: true; }, null]>; static ɵprov: i0.ɵɵInjectableDeclaration<NgxUiLoaderHttpInterceptor>; }