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

Getting started is not that usefull #50

Open
Noeljunior opened this issue Jul 9, 2017 · 1 comment
Open

Getting started is not that usefull #50

Noeljunior opened this issue Jul 9, 2017 · 1 comment

Comments

@Noeljunior
Copy link

Noeljunior commented Jul 9, 2017

I'm writing you as a new user of Hammer. I can't get start with the very first simplest example in getting started page.

var hammertime = new Hammer(myElement, myOptions);
hammertime.on('pan', function(ev) {
console.log(ev);
});

myElement is clear enought, ok. myOptions is...? Some option I might want, ok, but you don't say anything about it. myOptions = null or {} gives me something like 'Uncaught TypeError: Cannot read property 'addEventListener' of null'.

I'm not expecting help here. I'm just telling you that the getting start may put away some new users.

@bmx666
Copy link

bmx666 commented Jul 10, 2023

Hi @Noeljunior thanks for your issue, I also spent 1 hour to figure out what a hell is going on here???... And 6 years later - nothing...

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