You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: