SSENSE/vue-carousel

Feature Request: emit separate events for click and swipe

Offen

#269 geöffnet am 21.08.2018

 (3 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (513 Forks)batch import
featuregood first issuehelp wanted

Repository-Metriken

Stars
 (1.705 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Hello there and thanks for your awesome library!

I'm trying to handle following case. I have a product gallery, and I want to be able to know when user clicked on a slide (then I want to redirect user to product page) and when user just swipes to next photo.

Didn't manage to do this. Tried different variations. The best I could do is to apply pointer-events: none to wrapper div, which completely disabled swipe, but this is not exactly what I wanted.

P.S. I put @click on carousel component, tried also to put on slide, the click event didn't fire at all.

Thanks in advance

Contributor Guide