ZwiiCMS/core/vendor/swiper/init.js

24 lines
443 B
JavaScript
Raw Normal View History

2019-05-02 13:21:48 +02:00
$(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,
});
});