L
L
LoveCode &Coffe2018-11-02 00:57:54
JavaScript
LoveCode &Coffe, 2018-11-02 00:57:54

How to execute jquery when owl-carusel slide changes?

How to write a function that will work when the slide changes?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ihor Bratukh, 2018-11-02
@LoveCode &Coffe

Documentation

  • change.owl.carousel
  • changed.owl.carousel
var owl = $('.owl-carousel');
owl.owlCarousel();
// Listen to owl events:
owl.on('changed.owl.carousel', function(event) {
    //> ваша функция
})

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question