I can display detail information about the carousel item
Will allow me to use vuetify's carousel instead of using another library
Improves flexibility of the carousel components
I can just use v-model. Did not see it clearly, my bad
For the benefit of others, here is an example:
<v-carousel v-model="carouselIndex">
<v-carousel-item v-for="(src,i) in images" :src="src" :key="i"></v-carousel-item>
</v-carousel>
<span>Current Index: {{carouselIndex}}</span>
Is carouselIndex a predefined attribute/property or we need to define it into the data?
carouselIndex is not working in my case @andrewharvey . I want to get the current index of active slide and then push to a different route if that carousel item is active.
Ppease do not comment closed issues. For general questions, please join the Discord chat room. You can also check reddit or stackoverflow.
Most helpful comment
For the benefit of others, here is an example: