You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
beforeDestroy() {
// provide event API for parent component to control
// destroying this component on beforeDestroy
this.$emit('flickity:beforeDestroy', this.$flickity);
if (this.options.destroyAutomatically) {
this.$flickity.destroy();
}
this.$flickity = null;
},
The text was updated successfully, but these errors were encountered:
To prevent the slideshow from collapsing when the parent component is destroyed
Parent.vue
Flickity.vue
The text was updated successfully, but these errors were encountered: