93gaurav93 / v-owl-carousel

🦉 VueJS wrapper for Owl Carousel
MIT License
45 stars 25 forks source link

Rewind false doesn't work #24

Closed hernandavidc closed 4 years ago

hernandavidc commented 4 years ago

Hi!

I'm implementing the carousel like this and the rewind attribute seems to still be true

<carousel class="col-12 px-0 position-relative owl-carousel-container" 
            :dots="false" 
            :lazyLoad="true" 
            :nav="false" 
            :rewind="false"
            :responsive="{ 0:{items:2,nav:false,stagePadding:0}, 768:{items:3.3,nav:false,stagePadding:50}, 992:{items:4.5,nav:false,stagePadding:50} }">
          <template slot="prev"><span class="prev nav-button"> <img src="@/assets/icons/left-carousel.svg"> </span></template>

          <product-item />
          <product-item />
          <product-item />
          <product-item />
          <product-item />
          <product-item />
          <router-link id="products-more" :to="{ name: 'brand', params: { brand: 'reebok' }}">
            <b-img-lazy :blank-color="'#bbb'" loading="lazy" class="product-imagen-main" src="@/assets/img/see-more.svg" />
          </router-link>

          <template slot="next"><span class="next nav-button">  <img src="@/assets/icons/right-carousel.svg">  </span></template>
 </carousel>