Y
Y
Yaroslav IKARUS2015-12-02 16:55:24
JavaScript
Yaroslav IKARUS, 2015-12-02 16:55:24

How to get the number of the currently active slide in owl.carousel?

There is a normal slider on owl.carousel.
At the output, it gives out such a code
f169aeaa2b.jpg
. Question - how to find out which of the owl-item is currently active?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor Login, 2015-12-02
@yar-ikarus

This is also described in the documentation . You don't have to look for the active slide in the generated html, just grab it directly from the owl object.

Z
zerofx, 2016-03-06
@zerofx

Hello, how can I make it count not from 0 - but from 1? c2n.me/3vdmFCF
I will be very grateful for the tips

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question