vvvmax / unitegallery

Unite Gallery - Responsive jQuery Image and Video Gallery Plugin. Aim to be the best gallery on the web on it's kind. See demo here:
http://unitegallery.net
MIT License
530 stars 157 forks source link

Destroy method #8

Open aflin opened 9 years ago

aflin commented 9 years ago

There doesn't seem to be any destroy method available. If the gallery is playing, it continues to play even if all the html is removed and there are no more references to the "api" object. I assume there are a bunch of events bound which have no public method of unbinding that I can find.

Any help is appreciated.

Thanks

vvvmax commented 9 years ago

Ill make the destroy method soon and let you know.

On Thursday, May 21, 2015, aflin notifications@github.com wrote:

There doesn't seem to be any destroy method available. If the gallery is playing, it continues to play even if all the html is removed and there are no more references to the "api" object. I assume there are a bunch of events bound which have no public method of unbinding that I can find.

Any help is appreciated.

Thanks

— Reply to this email directly or view it on GitHub https://github.com/vvvmax/unitegallery/issues/8.

temich0808 commented 7 years ago

As I can see in release_log, destroy method had added in version 1.5.3 -feature: added "destroy function to API" -bug fix: fixed destroy function

Thats a shame, that after destroying images deleted from DOM.