1000ch / vue-recognizer

Vue.js plugin to recognize touch, mouse, pointer events using Hammer.js.
https://www.npmjs.com/vue-recognizer
MIT License
11 stars 0 forks source link

How to set parameters #4

Open shijunti19 opened 4 years ago

shijunti19 commented 4 years ago
Option Default Description
event pan Name of the event.
pointers 1 Required pointers. 0 for all pointers.
threshold 10 Minimal pan distance required before recognizing.
direction DIRECTION_ALL Direction of the panning.

How to set parameters