D
D
DeniSidorenko2018-06-28 15:32:49
Owl Carousel
DeniSidorenko, 2018-06-28 15:32:49

How to cancel an OWL action after an interaction?

Good afternoon, there is an owl carousel, without control, it spins itself, but you can swipe with the mouse / tickpad
such a code

$('.owl-carousel').owlCarousel({
items: 1,
autoplay: true,
autoplayTimeout: 2000,
autoplayHoverPause: true
})

So, how can you do something that if the user switched the slide himself, stop autoPlay? I think you can do it somehow through the callback function, but I didn’t find anything on the site in the docks about this. Thanks in advance

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question