k15t-aui-ng2
Version:
aui-ng2 is a set of angular 2 components, directives and services to simplify the integration with Atlassian products based on AUI/ADG. The library is still under development and is considered in an experimental state. So be aware that things will change
23 lines (19 loc) • 684 B
text/typescript
import {Observable} from 'rxjs/Rx';
import {AuiNgMessageDialogOptions} from './message-dialog.component';
export interface AuiNgDialog {
/**
* Opens the dialog.
*/
open(): void;
/**
* Event emitted if the the dialog was closed by clicking on the 'X' icon or by a programmatically emitted event.
*/
onDialogClosed($event: Event): void;
/**
* Called on opening the dialog for customized initialization.
*
* @param opts Additional dialog options
* @return Observable to notify opener of the dialog e.g. if the dialog was closed or exchanging information
*/
init(opts: AuiNgMessageDialogOptions): Observable<any>;
}