ngx-modal-dialog
Version:
Dynamic modal dialog for Angular
19 lines (18 loc) • 596 B
TypeScript
import { ComponentRef } from '@angular/core';
import { ModalDialogComponent } from './modal-dialog.component';
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;
}