Как отключить перетаскивание в ползунке swiper - PullRequest
0 голосов
/ 24 февраля 2020

Я использую слайдер Swiper версии 3.3.1. Я применил этот код, но не работает

var swiper = new Swiper('.swiper', {
    speed: 400,
    autoHeight: false,
    loop: true,
    autoplay: 2500,
    autoplayStopOnLast: false, 
    pagination: '.swiper-pagination',
    paginationType: "bullets",
    simulateTouch:false, 
    nextButton: '.swiper-button-next',
    prevButton: '.swiper-button-prev',
    effect: 'fade',
    slidesPerView: 1,
    scrollbar: {
     container: '.swiper-scrollbar',
     draggable: false,
   }
});
...