vue-carousel
vue-carousel copied to clipboard
How to use the pagechange event?
Hey guys, I read the documentation and examples a lot but i was unable to use the events.
Can someone show me what i am doing wrong?
To a better experience I put the sample of my code here: jsfiddle
Hi,
You can find here a new jsfiddle. I don't use the page-change event but I use the v-model to know the current page index.
I have changed the url of the vue-carousel js by this one https://cdn.jsdelivr.net/npm/[email protected]/dist/vue-carousel.min.js to ensure the use of the latest version (0.18 from NPM).
I hope this helps you.
Probably not going to help you now, but for anyone else: http://jsfiddle.net/3sfrc5ov/
I updated the url for the lib in the fiddle and moved the handler to carousel
component instead of the slide
.