Skip to content

Commit e15f5b8

Browse files
committed
chore: demo
1 parent e707f3e commit e15f5b8

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

demo-snippets/vue/Mixins.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<NavigationButton text="Back" android.systemIcon="ic_menu_back" @tap="onNavigationButtonTap"></NavigationButton>
55
</ActionBar>
66
<StackLayout>
7-
<StackLayout backgroundColor="yellow" elevation="10" dynamicElevationOffset="3">
8-
<Button margin="10" elevation="5" rippleColor="red" backgroundColor="green" borderRadius="10" fontSize="20" text="elevated button" @tap="onButtonTap" />
7+
<StackLayout backgroundColor="pink" elevation="10" dynamicElevationOffset="3">
8+
<Button margin="10" elevation="5" rippleColor="red" backgroundColor="green" borderRadius="50%" fontSize="20" text="elevated button" @tap="onButtonTap" id="button" />
99
<Button margin="10" rippleColor="red" fontSize="20" text="elevated button" />
10-
<Label margin="10" horizontalAlignment="center" backgroundColor="yellow" padding="10" elevation="1" borderRadius="20" rippleColor="red" text="elevated text" />
11-
<Label margin="10" horizontalAlignment="center" padding="10" backgroundColor="yellow" dynamicElevationOffset="3" elevation="1" rippleColor="red" text="elevated text" />
10+
<Label margin="10" horizontalAlignment="center" backgroundColor="yellow" padding="10" elevation="1" dynamicElevationOffset="3" rippleColor="red" text="elevated text" borderRadius="50% 10% 4 0" borderWidth="1" borderColor="blue" id="label"/>
11+
<Label margin="10" horizontalAlignment="center" padding="10" backgroundColor="yellow" dynamicElevationOffset="3" elevation="1" rippleColor="red" text="elevated text" borderRadius="20"/>
1212
<StackLayout class="cardView" height="100" orientation="horizontal">
1313
<Label width="100%" textAlignment="center" verticalAlignment="center" text="elevated text" />
1414
</StackLayout>

demo-snippets/vue/Ripples.vue

Lines changed: 2 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" @tap="onTap"/>
8-
<MDRipple width="100" height="100" rippleColor="green" borderRadius="50%" @tap="onTap"/>
7+
<MDRipple backgroundColor="gray" rippleColor="green" width="100" height="100" @tap="onTap" horizontalAlignment="left"/>
8+
<MDRipple width="100" height="100" rippleColor="green" borderRadius="50%" @tap="onTap" horizontalAlignment="left"/>
99
</StackLayout>
1010
</Page>
1111
</template>

demo-snippets/vue/install.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export function installPlugin() {
7575
}
7676

7777
export const demos = [
78+
{ name: 'Mixins', path: 'Mixins', component: Mixins },
7879
{ name: 'ActivityIndicators', path: 'ActivityIndicators', component: ActivityIndicators },
7980
{ name: 'BottomNavigationBar', path: 'BottomNavigationBar', component: BottomNavigationBar },
8081
{ name: 'BottomNavigation', path: 'BottomNavigation', component: BottomNavigation },
@@ -89,6 +90,5 @@ export const demos = [
8990
{ name: 'TextViews', path: 'TextViews', component: TextViews },
9091
{ name: 'BottomSheet', path: 'BottomSheet', component: BottomSheet },
9192
{ name: 'SpeedDial', path: 'SpeedDial', component: SpeedDial },
92-
{ name: 'Tabs', path: 'Tabs', component: Tabs },
93-
{ name: 'Mixins', path: 'Mixins', component: Mixins }
93+
{ name: 'Tabs', path: 'Tabs', component: Tabs }
9494
];

0 commit comments

Comments
 (0)