File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 9
9
<MDButton id =" ignore_bottom_safe_area" text =" ignore_bottom_safe_area" @tap =" onTap" />
10
10
<MDButton id =" dont_ignore_top_ignore_bottom_safe_area" text =" dont_ignore_top_ignore_bottom_safe_area" @tap =" onTap" />
11
11
<MDButton id =" bottomsheet-keyboard" text =" bottomsheet-keyboard" @tap =" onTap" />
12
+ <MDButton id =" bottomsheet-peekheight" text =" bottomsheet-peekheight" @tap =" onTap" />
12
13
</StackLayout >
13
14
</Page >
14
15
</template >
@@ -90,6 +91,16 @@ export default Vue.extend({
90
91
});
91
92
break ;
92
93
}
94
+ case ' bottomsheet-peekheight' : {
95
+ (this as NativeScriptVue ).$showBottomSheet (BottomSheetInner , {
96
+ peekHeight:100 ,
97
+ // transparent: true,
98
+ closeCallback : (... args ) => {
99
+ console .log (' bottom sheet closed' , args );
100
+ }
101
+ });
102
+ break ;
103
+ }
93
104
}
94
105
}
95
106
}
You can’t perform that action at this time.
0 commit comments