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
I added a ref="flickity" property to my component, but it is not accessible via this.$refs.flickity, even in the mounted() function. I tried suggestions from this thread and this thread but nothing worked. Does anyone know why this is happening?
The text was updated successfully, but these errors were encountered:
@andersaamodt I had the same issue, I wanted to access the selectedIndex in this.$refs.flickity and it was undefined even in mounted() cycle. So I followed @Yakoot advice in #45 and it worked... onInit(){ this.$refs.flickity.on('change', (index) => { console.log(index) }) }
I added a ref="flickity" property to my component, but it is not accessible via this.$refs.flickity, even in the mounted() function. I tried suggestions from this thread and this thread but nothing worked. Does anyone know why this is happening?
The text was updated successfully, but these errors were encountered: