-
Notifications
You must be signed in to change notification settings - Fork 48
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
How to set local options? #29
Comments
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: #23 (comment) |
add custom direction to modifiy el.hammerOptions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?The text was updated successfully, but these errors were encountered: