Answer the question
In order to leave comments, you need to log in
How can I find out the number of slides in a slick slider?
How can I find out the number of slides in a slick slider?
There is a reference to the DOM element of this slider (React.js):
this.slider = React.createRef();
It will not work from the DOM to find out using a selection of slides. because there are cloned slides:
What are the options? This is necessary to form your own navigation (dots).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question