Skip to content

Commit 2b64808

Browse files
committed
Typings added for "nativescript-angular\modal-dialog"
1 parent 0dfb802 commit 2b64808

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export {
2+
ModalDialogHost,
3+
ModalDialogOptions,
4+
ModalDialogParams,
5+
ModalDialogService
6+
} from "./directives/dialogs";

0 commit comments

Comments
 (0)