UNPKG

@euro-ombudsman/ngx-modal-dialog

Version:
22 lines (21 loc) 790 B
import { ComponentRef } from '@angular/core'; import { ModalDialogComponent } from './modal-dialog.component'; import * as i0 from "@angular/core"; export declare class ModalDialogInstanceService { /** * Used to make sure there is exactly one instance of Modal Dialog */ private componentRefs; /** * Closes existing modal dialog */ closeAnyExistingModalDialog(): void; /** * Save component ref for future comparison * @param componentRef */ saveExistingModalDialog(componentRef: ComponentRef<ModalDialogComponent>): void; setOverlayForTopDialog(value: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<ModalDialogInstanceService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ModalDialogInstanceService>; }