Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listener on swipe? #358

Open
mbaranczak opened this issue Apr 17, 2018 · 1 comment
Open

Listener on swipe? #358

mbaranczak opened this issue Apr 17, 2018 · 1 comment

Comments

@mbaranczak
Copy link

Is it possible to register a listener that gets notified when the user goes to the next or previous image?

@mbaranczak
Copy link
Author

I figured it out - you can specify listener functions in the initial parameters as nextSlide and prevSlide. This is currently undocumented, you might want to add it to the list of options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant