Responsive-Lightbox icon indicating copy to clipboard operation
Responsive-Lightbox copied to clipboard

refresh / destroy

Open klmdb opened this issue 9 years ago • 1 comments

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.

klmdb avatar Aug 04 '15 20:08 klmdb

Refresh and destroy methods would be really great.

pinki avatar Mar 19 '16 11:03 pinki