[Vuejs]-Vuejs vue-easy-slider before-next question

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

Leave a comment