File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { Page , NavigationEntry } from 'tns-core-modules/ui/frame/frame'
2
2
import { ItemEventData } from 'tns-core-modules/ui/list-view'
3
3
import { View } from 'tns-core-modules/ui/core/view'
4
+ import { ShowModalOptions } from 'tns-core-modules/ui/core/view-base'
4
5
import { Vue , VueConstructor } from 'vue/types/vue'
5
6
6
7
// ListView ItemEventData with the addition of the item property
@@ -17,9 +18,8 @@ export type navigateTo = (
17
18
cb ?: ( ) => Page ,
18
19
) => Promise < Page > ;
19
20
20
- export interface ModalOptions {
21
- context ?: any ;
22
- fullscreen ?: boolean ;
21
+ export interface ModalOptions extends Partial < ShowModalOptions > {
22
+ target ?: any ; // optional Vue target to open the modal from
23
23
props ?: Record < string , any > ;
24
24
}
25
25
You can’t perform that action at this time.
0 commit comments