Open sulzbacher opened 9 years ago
Having the same issue. It appears that the public functions are not available.
var carousel = $carouselEl.elastislide();
I've tried the following:
carousel.destroy();
$.fn.elastislide.destroy();
Any ideas?
I believe destroy method can be called like this:
$carouselEl.elastislide('destroy');
I have a carousel on my html, in js i call the elastslide everytime a dialog open, it creates a new carousel. But when i close this dialog, the carousel have to be destroyed, and i don't now how to do! Can anyone help me?