Closed blursolo closed 1 year ago
Are you using jQuery? jQuery is not fully supported in FlickityResponsive. You can initialize using jQuery but for further usage, please use the vanilla JS way.
// init
jQuery('.carousel').flickityResponsive({});
// get instance
const flkty = Flickity.data( '.carousel' );
// using API
flkty.destroy();
@phucbm I understand. Thank you!
How can I properly destroy an instance of FlickityResponsive?
entity.flickity('destroy'); doesn't work.