ZwiiCMS/core/vendor/swiper/init.js
Prof Langues 3013b1b6b1 [9.1.00]
2019-05-02 13:21:48 +02:00

24 lines
443 B
JavaScript

$(document).ready(function() {
var mySwiper = new Swiper('.swiper-container', {
//direction: 'vertical',
speed:1000,
spaceBetween: 20,
roundLengths:true,
loop: true,
autoplay: {
//reverseDirection: true,
delay: 6000,
disableOnInteraction: false,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
keyboard: {
enabled: true,
},
mousewheel: true,
});
});