File tree 1 file changed +15
-19
lines changed
1 file changed +15
-19
lines changed Original file line number Diff line number Diff line change 1
1
<template lang="pug">
2
2
//- This is an isolated test view. Just for testing purpose.
3
3
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" )
5
10
vueper-slide(
6
- v-for ="(slide, i) in slides "
11
+ v-for ="(slide, i) in 10 "
7
12
:key ="i"
8
- :title ="slide.title"
9
- :content ="slide.content"
13
+ :content ="`Content ${i}`"
10
14
:style ="'background-color: ' + ['#ff5252', '#42b983'][i % 2]" )
11
- template( v-slot:slideTitle )
15
+ template( v-slot:slide-title )
12
16
v-icon.white--text check_circle
13
- p {{ slide.title }}
17
+ p {{ `Title ${i}` }}
14
18
</template >
15
19
16
20
<script >
@@ -41,22 +45,14 @@ export default {
41
45
}
42
46
],
43
47
breakpoints: {
44
- 1200 : {
45
- slideRatio: 1 / 5 ,
48
+ 700 : {
46
49
slideMultiple: 2 ,
47
- visibleSlides: 2
48
- },
49
- 900 : {
50
- slideRatio: 1 / 3
50
+ visibleSlides: 2 ,
51
+ slideRatio: 1 / 3 ,
52
+ infinite: false
51
53
},
52
54
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
60
56
}
61
57
}
62
58
}),
You can’t perform that action at this time.
0 commit comments