-
-
Notifications
You must be signed in to change notification settings - Fork 80
/
ButtonIssue.vue
49 lines (45 loc) · 1.87 KB
/
ButtonIssue.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<template>
<Page>
<ActionBar :title="title">
<NavigationButton text="Back" android.systemIcon="ic_menu_back" @tap="onNavigationButtonTap"></NavigationButton>
</ActionBar>
<ScrollView>
<StackLayout>
<MDButton elevation="2" text="Test me1" backgroundColor="white" />
<MDButton elevation="2" text="Test me2" backgroundColor="white" />
<MDButton elevation="2" text="Test me3" backgroundColor="white" />
<MDButton elevation="2" text="Test me3" backgroundColor="white" />
<MDButton elevation="2" text="Test me3" backgroundColor="white" />
<MDButton elevation="2" text="Test me3" backgroundColor="white" />
<MDButton elevation="2" text="Test me3" backgroundColor="white" />
<MDButton elevation="2" text="Test me3" backgroundColor="white" />
<MDButton elevation="2" text="Test me3" backgroundColor="white" />
<MDButton elevation="2" text="Test me3" backgroundColor="white" />
<MDButton elevation="2" text="Test me3" backgroundColor="white" />
<MDButton elevation="2" text="Test me3" backgroundColor="white" />
<MDButton elevation="2" text="Test me3" backgroundColor="white" />
</StackLayout>
</ScrollView>
</Page>
</template>
<script lang="ts">
import * as frameModule from '@nativescript/core/ui/frame';
import Vue from 'vue';
export const title = 'Buttons Elevation Top Bottom sample';
export default Vue.extend({
data() {
return {
name: 'Buttons Elevation Top Bottom Issue',
title: title
};
},
methods: {
onNavigationButtonTap() {
frameModule.topmost().goBack();
},
onTap() {
console.log('Button tapped');
}
}
});
</script>