You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That sounds like a good idea Alan. I would be happy to add that in.
I think it makes sense to expose any public methods in swipr the same way as the next and prev events are currently exposed. There are probably a few other useful ones we could add too.
I have added you as a collaborator, so you can work on this.
Thanks for your help.
In my case the slides are dynamic, so I need to return to the index 0 to avoid getting stuck in a position that no longer exists.
To solve it temporarily in my fork I exposed a resetIndex method on swipr:
And then I pass a prop to the React component so it knows when to reset:
Please let me know if you think there's a better way of solving that or whether I can PR it.
The text was updated successfully, but these errors were encountered: