OwlCarousel2 / OwlCarousel2

DEPRECATED jQuery Responsive Carousel.
http://owlcarousel2.github.io/OwlCarousel2/
Other
7.9k stars 2.27k forks source link

How to use events in vue owl carousel? #2691

Open mazikulos opened 4 years ago

mazikulos commented 4 years ago

Im trying to use @changed event

` <carousel ref="carousel" :autoplay="false" :nav="true" :loop="true" :center="true" :dots="false" :changed="changeSomething"

`

and then in methods:

methods: { changeSomething() { console.log('changed') }, }

but it doesnt work. Any ideas?

maaak7 commented 4 years ago

You just need to use @changed instead of :changed for events