Touch Events in Vue 2.0

I am using Vue 2.0 and should work with gesture lines. I checked that there is one official plugin (called vue-touch ), but as they say, Vue 2.0 is not yet supported.

I know that there are many libraries that support gestures, but which library is best suited for working with Vue 2.0? (in terms of lightness and commutation, if vue-touch becomes compatible with vue 2.0). Or are libraries recommended for touch events in general?

+13
source share
2 answers

I checked and already have Vue-Touch for Vue 2.0, although it is in a different branch:

Vue 1.0. , Vue 2.0, .

https://github.com/vuejs/vue-touch/tree/next

+10

Hammer Vue. Vue, Hammer. . .

Vue2-hammer (1600 ) , . Vue2-touch-events (5000 ) Hammer, .

+1

Source: https://habr.com/ru/post/1015614/


All Articles