-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
36 lines (35 loc) · 740 Bytes
/
Copy pathscript.js
File metadata and controls
36 lines (35 loc) · 740 Bytes
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
32
33
34
35
36
var swiper = new Swiper(".mySwiper-1", {
slidesPerView:1,
spaceBetween: 30,
loop:true,
pagination: {
el:".swiper-pagination",
clickable:true,
},
navigation: {
nextEl:".swiper-button-next",
pervEl:".swiper-button-prev"
}
}
);
var swiper = new Swiper(".mySwiper-2", {
slidesPerView:4,
spaceBetween: 30,
loop:true,
loopFillGroupWithBlack:true,
navigation: {
nextEl:".swiper-button-next",
pervEl:".swiper-button-prev"
},
breakpoints : {
0:{
slidesPerView:1
},
520: {
slidesPerView:2
},
950: {
slidesPerView:3
}
}
});