@noilda/ng-loader
Version:
Loaders library
16 lines (15 loc) • 606 B
TypeScript
import { RendererFactory2 } from '@angular/core';
import * as i0 from "@angular/core";
export declare class LoaderService {
private renderer;
private loaderEl;
private loaderTxt;
constructor(rendererFactory: RendererFactory2);
/**
* @param {boolean} loaderShow hide or show loader
* @param {string|number} txt text or message to be displayed while showing the loader
*/
showLoader(loaderShow?: boolean, txt?: string | number): void;
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>;
}