UNPKG

@rxap/services

Version:

Provides Angular services for common tasks such as loading images, managing loading indicators, resetting data, and managing components in a window container sidenav. It also includes a service to generate avatar images. This package offers reusable servi

16 lines (15 loc) 592 B
import { OnDestroy } from '@angular/core'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class LoadingIndicatorService implements OnDestroy { isLoading$: Observable<boolean>; private readonly loading$; private readonly _attachedLoadingSubscription; constructor(); attachLoading(loading$: Observable<any>): void; ngOnDestroy(): void; disable(): void; enable(): void; static ɵfac: i0.ɵɵFactoryDeclaration<LoadingIndicatorService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<LoadingIndicatorService>; }