I think it would be useful to include a .length property that can be accessed through the API. I had to apply a certain callback to various instances and had to manually pass the number of slides for each function call- it should be simple to calculate the number of slides upon mounting the slider.
I think it would be useful to include a .length property that can be accessed through the API. I had to apply a certain callback to various instances and had to manually pass the number of slides for each function call- it should be simple to calculate the number of slides upon mounting the slider.