Skip to content
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

Warning [vue-hammer] invalid event type: pressup #22

Open
HoraceKeung opened this issue Aug 24, 2018 · 1 comment
Open

Warning [vue-hammer] invalid event type: pressup #22

HoraceKeung opened this issue Aug 24, 2018 · 1 comment

Comments

@HoraceKeung
Copy link

Directive v-hammer:pressup="onPressUp" works as expected, but there is warning: [vue-hammer] invalid event type: pressup showing up when the web app loads.

@tommitytom
Copy link

I'm also getting a similar error to this. If I use the following code I get no warning, but it does not work:
v-hammer:pan.start="onPanStart"
However if I use the following code it works fine,
v-hammer:panstart="onPanStart"
But I get the following warning:
[vue-hammer] invalid event type: panstart

I get the warning for every directive that has 2 parts (panstart, panend etc, but not pan)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants