Skip to content

Commit 3d2ccf5

Browse files
committed
Updated test case.
1 parent 9c73b3f commit 3d2ccf5

File tree

1 file changed

+15
-19
lines changed

1 file changed

+15
-19
lines changed

src/documentation/isolated-test-view.vue

+15-19
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
<template lang="pug">
22
//- This is an isolated test view. Just for testing purpose.
33
div
4-
vueper-slides(:breakpoints="breakpoints")
4+
vueper-slides(
5+
:breakpoints="breakpoints"
6+
arrows-outside
7+
bullets-outside
8+
:visible-slides="3"
9+
:infinite="true")
510
vueper-slide(
6-
v-for="(slide, i) in slides"
11+
v-for="(slide, i) in 10"
712
:key="i"
8-
:title="slide.title"
9-
:content="slide.content"
13+
:content="`Content ${i}`"
1014
:style="'background-color: ' + ['#ff5252', '#42b983'][i % 2]")
11-
template(v-slot:slideTitle)
15+
template(v-slot:slide-title)
1216
v-icon.white--text check_circle
13-
p {{ slide.title }}
17+
p {{ `Title ${i}` }}
1418
</template>
1519

1620
<script>
@@ -41,22 +45,14 @@ export default {
4145
}
4246
],
4347
breakpoints: {
44-
1200: {
45-
slideRatio: 1 / 5,
48+
700: {
4649
slideMultiple: 2,
47-
visibleSlides: 2
48-
},
49-
900: {
50-
slideRatio: 1 / 3
50+
visibleSlides: 2,
51+
slideRatio: 1 / 3,
52+
infinite: false
5153
},
5254
600: {
53-
slideRatio: 1 / 2,
54-
arrows: false,
55-
bulletsOutside: true
56-
},
57-
// The order you list breakpoints does not matter, Vueper Slides will sort them for you.
58-
1100: {
59-
slideRatio: 1 / 4
55+
slideRatio: 1 / 2
6056
}
6157
}
6258
}),

0 commit comments

Comments
 (0)