Answer the question
In order to leave comments, you need to log in
How to manage owl-carousel in vue?
Good afternoon. In a vue project I use owl-carousel.
<carousel
id = "TestCarousel"
:autoplay = 'false'
:items='1'
:nav='true'
:loop='true'
:dots='false'
:mouseDrag='false'
@changed="changedMale"
>
<div class="item" v-for="(father, index) in fathersNames" :key="index">
<div><h3 class="text-center">{{father}}</h3></div>
</div>
</carousel>
$('#TestCarousel').trigger('to.owl.carousel', [0, 0])
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question