0👍
After some experimenting this works.
<slider :before-next="() => Slide < gallery.length - 1" :before-previous="() => Slide > 0" :v-model="Slide">
<slider-item v-for="(item, index) in items">
<img src="gallery" />
</slider-item>
</slider>
It now doesn’t loop
- [Vuejs]-How to control the vertical scroll bar of a v-card?
- [Vuejs]-How to dispatch a Vue computed property
Source:stackexchange.com