antonreshetov / vue-glide

A slider and carousel as vue component on top of the Glide.js
https://antonreshetov.github.io/vue-glide/
MIT License
269 stars 39 forks source link

Event Handlers in carousel clone slides do not work #13

Closed mikusd closed 5 years ago

mikusd commented 5 years ago

Hello again,

When we have carousel, it creates node clones of slides and put them to the edges. But sadly it does not seem to copy the event handlers. In my use case the @click handler does not work.

Is there any way to get it to work?

antonreshetov commented 5 years ago

@Dalirik vue-glide not emit click event, use glide:slide-click

Example https://codesandbox.io/s/n722774xl

mikusd commented 5 years ago

Yeah my bad, I had @click in the slide template. Thank you!