We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dfb802 commit 2b64808Copy full SHA for 2b64808
src/nativescript-angular/modal-dialog.d.ts
@@ -0,0 +1,18 @@
1
+import {Type} from 'angular2/core';
2
+
3
+export interface ModalDialogOptions {
4
+ context?: any;
5
+ fullscreen?: boolean;
6
+}
7
8
+export class ModalDialogParams {
9
+ public context: any;
10
+ public closeCallback: (...args) => any;
11
12
13
+export class ModalDialogService {
14
+ public showModal(type: Type, options: ModalDialogOptions): Promise<any>;
15
16
17
+export class ModalDialogHost {
18
src/nativescript-angular/modal-dialog.ts
@@ -0,0 +1,6 @@
+export {
+ ModalDialogHost,
+ ModalDialogOptions,
+ ModalDialogParams,
+ ModalDialogService
+} from "./directives/dialogs";
0 commit comments