javascript - Slick Slider slidesToScroll modification -
i use slick slider on site. , no matter how pulling slider left or right, runs on number of slides specified in property slidestoscroll. possible slick slider worked slider http://www.owlcarousel.owlgraphic.com/demos/mousewheel.html. how pulling - scroll same distance. sorry english. you.
there code init slick slide:
$('.slider-wrapper-2').slick({ slidestoshow: 4, slidestoscroll: 4, rows: 1 });
just add swipetoslide
setting, enables swiping slide irrespectively slidestoscroll
your initializing script should this:
$('.slider-wrapper-2').slick({ slidestoshow: 4, slidestoscroll: 4, rows: 1, swipetoslide: true });
in case doesn't work, remove slidestoscroll
option. please comment how worked can edit answer.
Comments
Post a Comment