Viewing 1 replies (of 1 total)
  • Thread Starter sandrinebud

    (@sandrinebud)

    Solved my problem.
    Just add the code shown in example.
    I just forgot to declare the variable at the start.

    var owl = $(‘.owl-carousel’);
    owl.on(‘mousewheel’, ‘.owl-stage’, function (e) {
    if (e.deltaY>0) {
    owl.trigger(‘next.owl’);
    } else {
    owl.trigger(‘prev.owl’);
    }
    e.preventDefault();
    });

Viewing 1 replies (of 1 total)
  • The topic ‘Using Mousewheel with Owl’ is closed to new replies.