Open ThomasKuhlmann opened 5 years ago
I'd also like to know...
Seems this is related to #35
I found a solution for this issue, check my comment on another issue: https://github.com/bsdfzzzy/vue2-hammer/issues/23#issuecomment-598069708
add custom direction to modifiy el.hammerOptions
Hi,
your documentation says "There are two ways to customize recognizer options such as direction and threshold. The first one is setting global options"
but you don't explain how the second way works (assuming that's setting options locally when using the directive?). I tried having a look at your source code and could see that you do accept local config, but I couldn't figure out how to pass it. I tried setting it via
v-hammer.config="{enabled: false}
but this doesn't seem to work. Is there a way to disable all events on a local basis?