ngx-gem-spaas
Version:
This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.
25 lines (24 loc) • 975 B
TypeScript
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class PreloaderService {
private preloaderMsgs;
private preloaderMsgs$;
/**
* Activates the preloader overlay ("<spaas-preloader>" to be added to your app.component.html).
*
* @param preloaderMsg will be added to the list of messages, to be shown as feedback to the user.
*/
start(preloaderMsg: string): void;
/**
* Removes the "preloaderMsg" from the list of preloader messages.
*
* @param preloaderMsg message to be removed from the list. If the "preloaderMsg" was the last one on the list,
* the preloader overlay will be hidden.
*/
stop(preloaderMsg: string): void;
private newPreloaderMsg;
onNewPreloaderMsg(): Observable<string[]>;
getPreloaderMsgs(): string[];
static ɵfac: i0.ɵɵFactoryDeclaration<PreloaderService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<PreloaderService>;
}