@ohayojp.com/components
Version:
Common business components of ohayojp.
22 lines (21 loc) • 733 B
TypeScript
import { Overlay } from '@angular/cdk/overlay';
import { OnDestroy } from '@angular/core';
import { OhayoConfigService } from '@ohayojp.com/util';
import { LoadingDefaultComponent } from './loading.component';
import { LoadingShowOptions } from './loading.types';
export declare class LoadingService implements OnDestroy {
private overlay;
private _overlayRef;
private compRef;
private opt;
private cog;
private n$;
private loading$;
get instance(): LoadingDefaultComponent | null;
constructor(overlay: Overlay, configSrv: OhayoConfigService);
private create;
open(options?: LoadingShowOptions): void;
private _close;
close(): void;
ngOnDestroy(): void;
}