Skip to content

Just a basic tutorial on how to use this #55

@DarianSteyn

Description

@DarianSteyn

No matter where I look, there is hardly anything on how to use this damn framework. Everything is so vague and they hardly explain how to implement this stuff. I simply want to add one swipe function to a HTML object. But I can't find ANY useful resources and it's so annoying. I have gone from the Hammer.js, to Hammer.min.js to the jquery.hammer.js and every single one of them has given me a error. Either saying Hammer is not defined or a addeventlistener is not a function - hammer js.

Just make ONE simple tutorial on how to implement the framework. We aren't all well-experienced coders. Everyone just assumes you can just figure it out with a one line explanation of -

"It’s easy to use, just include the library and create a new instance. -
var hammertime = new Hammer(myElement, myOptions);
hammertime.on('pan', function(ev) {
console.log(ev);
});"

Ok.. so I do that but then it's the same damn errors haha.

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