NickPiscitelli/Glider.js

How to get total number of slides

harmenzon opened this issue · 1 comments

Is there a way to get the total number of slides?
I would like to use this to delete all slides except one.
I am thing on doing this in a for loop.

There are no exposed methods for this, but Glider does not manipulate items so you can either just ask the config for the item count, or query the descendants.