Closed CHEWX closed 4 years ago
If you're using props array to populate slider and props array changes -/+, I can watch the items and trigger a reinit? Best method for this?
<Flickity> <div class="flickity__slide" v-for="item in items"> ... </div> </Flickity>
watch: { items () { this.$nextTick( () => { this.$refs.flickity.rerender() }) } }
If you're using props array to populate slider and props array changes -/+, I can watch the items and trigger a reinit? Best method for this?