inet-core
Version:
iNet Core
28 lines (27 loc) • 910 B
TypeScript
import { OnDestroy } from '@angular/core';
import * as i0 from "@angular/core";
export declare class LoadingIndicatorService implements OnDestroy {
static instance: LoadingIndicatorService;
elementId: string;
private static loadingIndicator;
constructor();
setElementId(elementId: string): void;
getElementId(): string;
/**
* Get DOM of loading indicator
*/
private getIndicator;
private getLoadingIndicator;
showLoading(message?: string): void;
hideLoading(): void;
complete(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingIndicatorService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingIndicatorService>;
}
export declare class LoadingIndicator {
container: HTMLElement;
element: HTMLElement;
message: string;
constructor(container: HTMLElement, el: HTMLElement, msg?: string);
}