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

refresh / destroy #26

Open
klmdb opened this issue Aug 4, 2015 · 1 comment
Open

refresh / destroy #26

klmdb opened this issue Aug 4, 2015 · 1 comment

Comments

@klmdb
Copy link

klmdb commented Aug 4, 2015

To make this plugin a little more dynamic, simple setup refresh / destroy methods might be usefull.

Usecase: dynamically added DOM elements with new lightbox/gallery images. I haven't tested this, but from what I can ready in the code, adding images to an existing gallery and re-initializing it will cause duplicate event handlers to fire on img click.

@pinki
Copy link

pinki commented Mar 19, 2016

Refresh and destroy methods would be really great.

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

2 participants