M
M
Marian Vitak2019-07-16 16:16:39
Slick
Marian Vitak, 2019-07-16 16:16:39

Slick.js how to stop a slide?

It is necessary that when hovering over the slider, it stops. With the settings it currently has, it stops, but only when the slide completes its animation. How to make the slider stop even if the slide is only halfway through, that is, the slide remains only halfway through.

customerSlider.slick({
    arrows: false,
    dots: false,
    infinite: true,
    speed: 8000,
    autoplay: true,
    autoplaySpeed: 0,
    cssEase: 'linear',
    slidesToShow: 5,
    slidesToScroll: 1
});

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
gretyl007, 2019-08-03
@gretyl007

pauseOnHover?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question