UNPKG

@bimeister/pupakit.kit

Version:

PupaKit is an open source collection of Angular components based on an atomic approach to building interfaces, which guarantees better performance and greater development flexibility.

17 lines (16 loc) 794 B
import { Observable } from 'rxjs'; import { LoaderType } from '../declarations/types/loader-type.type'; import * as i0 from "@angular/core"; export declare class LoaderService { private readonly loaderVisibilityState$; private readonly loaderTypeState$; private readonly loaderOverlayTopOffsetPxState$; readonly isLoaderVisible$: Observable<boolean>; readonly loaderType$: Observable<LoaderType>; readonly loaderOverlayTopOffsetPx$: Observable<number>; setLoaderState(value: boolean, type?: LoaderType, overlayTopOffsetPx?: number): void; showLoader(type?: LoaderType, overlayTopOffsetPx?: number): void; hideLoader(): void; static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>; }