Skip to content

Getting started is not that usefull #50

@Noeljunior

Description

@Noeljunior

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions