vue-carousel icon indicating copy to clipboard operation
vue-carousel copied to clipboard

How to use the pagechange event?

Open getJv opened this issue 5 years ago • 2 comments

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

getJv avatar Jul 09 '19 19:07 getJv

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.

JulienCroain avatar Aug 23 '19 08:08 JulienCroain

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.

a-kriya avatar Sep 29 '20 08:09 a-kriya