Skip to content

Commit 4798ea8

Browse files
committed
chore: demo
1 parent 09bb63a commit 4798ea8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

demo-snippets/vue/Ripples.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<NavigationButton text="Back" android.systemIcon="ic_menu_back" @tap="onNavigationButtonTap"></NavigationButton>
55
</ActionBar>
66
<StackLayout>
7-
<MDRipple backgroundColor="gray" rippleColor="green" width="100" height="100" borderRadius="10" />
8-
<MDRipple width="100" height="100" borderRadius="10" />
7+
<MDRipple backgroundColor="gray" rippleColor="green" width="100" height="100" @tap="onTap"/>
8+
<MDRipple width="100" height="100" rippleColor="green" borderRadius="50%" @tap="onTap"/>
99
</StackLayout>
1010
</Page>
1111
</template>
@@ -26,6 +26,7 @@ export default Vue.extend({
2626
},
2727
2828
methods: {
29+
onTap() {},
2930
onNavigationButtonTap() {
3031
frameModule.Frame.topmost().goBack();
3132
}

0 commit comments

Comments
 (0)