-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non global config #52
Comments
Hi, global configuration overriding is not supported yet. |
See PR #53 What about you? Is it possible to merge please? |
Hi, the constructor of I think, it would be better to add an <span
v-touch:tap="{handler: tapHandler, options: {swipeTolerance: 10, tapTolerance: 10}}"
>Tap</span> |
Ok, I will use so far my forked version in my project. I'm looking forward to use options in future as you suggested. |
<span v-touch-options="{swipeTolerance: 10}">something</span> |
Add v-touch-options directive jerrybendy#52
Thank you very much for great new feature. There is a little bug in v2.2.0. See PR #54 |
Thanks for your PR. I have merged it and release a new version |
(Sorry for my english) I think the implementation is not good. For me the idea works: doesn't work: |
Hi @breslauer , My English is not good either. The problem you said is really an issue. The |
Hi, is it possible to override global config? E.g. I would like to use sometimes short distance swipe with default
tapTolerance = 10
but sometimes I need to use long distance swipe e.g.tapTolerance = 300
. It seems that there is only one option item that support inline configuration per element...touchClass
=>v-touch-class
. I have tested similarlyv-tap-tolerance
orv-touch-tap-tolerance
but it does not work.The text was updated successfully, but these errors were encountered: