@angular-mdl/core
Version:
Angular components, directives and styles based on material design lite https://getmdl.io.
24 lines (23 loc) • 679 B
TypeScript
import { InternalMdlDialogReference } from "./internal-dialog-reference";
import { Observable } from "rxjs";
/**
* The reference to the created and displayed dialog.
*/
export declare class MdlDialogReference {
private internaleRef;
constructor(internaleRef: InternalMdlDialogReference);
/**
* closes the dialog
*/
hide(data?: unknown): void;
/**
* Observable that emits, if the dialog was closed.
* returns {Observable<void>}
*/
onHide(): Observable<any>;
/**
* Observable that emits, if the dialog is really visible and not only created.
* returns {Observable<void>}
*/
onVisible(): Observable<void>;
}