We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, thanks for this wrapper!
When trying to add panstart or panleft events alone, it failed with error invalid direction and they are not called.
panstart
panleft
invalid direction
But if you set the pan event, they will be called at the right timing (panstart on the first event and panleftwhen panning on the left.
pan
Could it be possible to have the panstart event alone please.
Here a simple example to try it, remove the v-hammer:pan="pan" line and see how no other event are called.
v-hammer:pan="pan"
<template> <div id="app" v-hammer:pan="pan" v-hammer:panstart="panStart" v-hammer:panleft="panLeft"> </div> </template> <script> export default { name: 'app', methods: { panStart(e) { console.log('Pan start called'); }, pan(e) { console.log('Pan called'); }, panLeft(e) { console.log('Pan left called'); } } } </script> <style> #app { height: 100vh; } </style>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, thanks for this wrapper!
When trying to add
panstart
orpanleft
events alone, it failed with errorinvalid direction
and they are not called.But if you set the
pan
event, they will be called at the right timing (panstart
on the first event andpanleft
when panning on the left.Could it be possible to have the
panstart
event alone please.Here a simple example to try it, remove the
v-hammer:pan="pan"
line and see how no other event are called.The text was updated successfully, but these errors were encountered: