@doku-dev/doku-fragment
Version:
A new Angular UI library that moving away from Bootstrap and built from scratch.
27 lines (26 loc) • 1.06 kB
TypeScript
import { ApplicationRef, EnvironmentInjector, NgZone, OnDestroy } from '@angular/core';
import { DokuBackdropService } from '../backdrop';
import * as i0 from "@angular/core";
export declare class DokuPageLoadingService implements OnDestroy {
private document;
private backdropService;
private environmentInjector;
private appRef;
private ngZone;
private mobileScreen;
private pageLoadingElement?;
private spinnerComponentRef?;
private resizeListener?;
private currentSpinnerSize?;
private backdropRef?;
constructor(document: Document, backdropService: DokuBackdropService, environmentInjector: EnvironmentInjector, appRef: ApplicationRef, ngZone: NgZone);
private get isOpen();
ngOnDestroy(): void;
show(): void;
hide(): void;
private createPageLoadingElement;
private appendPageLoadingElementToBody;
private removePageLoadingElement;
static ɵfac: i0.ɵɵFactoryDeclaration<DokuPageLoadingService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<DokuPageLoadingService>;
}