Skip to content

thechriswalker/jester.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

jester.js

An extensible Javascript Touch Device gesture recogniser

see the index.html for an example of the current built in recognisers.

usage

jester.bind(
    [DOMElement], //the element to list on, e.g. `document`
    [Recogniser Function], // a function which will determine if this is a gesture (see source)
    { // an optional object containing optional callbacks to fire once this gesture is recognised,
      // for the rest of the touch, and on touch end.
        start: fn,
        move: fn,
        end: fn
    }
);

About

Extensible javascript touch device gesture recognition and event handling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published