@skyux/modals
Version:
This library was generated with [Nx](https://nx.dev).
18 lines (17 loc) • 715 B
TypeScript
import { Observable } from 'rxjs';
import { SkyConfirmCloseEventArgs } from './confirm-closed-event-args';
export declare class SkyConfirmInstance {
#private;
/**
* Fires when users select an action to close the dialog. This event
* returns a `SkyConfirmCloseEventArgs` object with information about the button that
* users select. It returns the `'cancel'` action when users press the <kbd>Escape</kbd> key.
*/
get closed(): Observable<SkyConfirmCloseEventArgs>;
/**
* Closes the confirm instance.
* @param args Specifies an object to emit to subscribers of the `closed` event
* of the confirm instance.
*/
close(args: SkyConfirmCloseEventArgs): void;
}