bsdfzzzy / vue2-hammer

Hammer.js wrapper for Vue 2.x to support some touching operation in the mobile.
MIT License
253 stars 48 forks source link

invalid event type: panstart & pandend #19

Closed sebmor closed 5 years ago

sebmor commented 5 years ago

I'm getting a warning in chrome console when I use panstart and panend events.

screen shot 2018-08-18 at 18 49 13

<div
  v-hammer:panstart="slideStart"
  v-hammer:pan.horizontal="slideMove"
  v-hammer:panend="slideEnd"
></div>
sebmor commented 5 years ago

After reading source code & closed issues, it is my understanding that these are not supported.

bsdfzzzy commented 5 years ago

You're right. You can listen to the start and end event inside the pan organizer.