-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
StaticPager.vue
31 lines (28 loc) · 938 Bytes
/
StaticPager.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
<template>
<Page>
<ActionBar>
<NavigationButton text="Back" android.systemIcon="ic_menu_back" @tap="$navigateBack" />
<Label text="Static Pager" />
</ActionBar>
<StackLayout class="page">
<Pager height="100%" peaking="30">
<PagerItem backgroundColor="#e67e22"><Label text="First" /></PagerItem>
<PagerItem backgroundColor="#3498db"><Label text="Second" /></PagerItem>
<PagerItem backgroundColor="#e74c3c"><Label text="Third" /></PagerItem>
<PagerItem backgroundColor="#9b59b6"><Label text="Fourth" /></PagerItem>
</Pager>
</StackLayout>
</Page>
</template>
<script>
export default {};
</script>
<style lang="scss" scoped>
.page Label {
font-size: 35;
horizontal-alignment: center;
vertical-alignment: center;
color: #ffffff;
text-transform: uppercase;
}
</style>