A
A
Aleshka41132019-11-08 18:57:41
JavaScript
Aleshka4113, 2019-11-08 18:57:41

Is it possible to change the parameter in owl carousel when clicking on the button?

How to change the items parameter in owl carousel when clicking on the button? For example, 3 slides were shown, and it became 4 when you clicked on the button.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2019-11-08
@Aleshka4113

$('button').click(()=>owl.reinit({items: 4}));

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question