Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
:v: jQuery touch & gestures, fingers in the nose.
JavaScript Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
dist
examples
libs
src
test
.gitignore
.jshintrc
.travis.yml
CONTRIBUTING.md
Gruntfile.js
LICENSE-MIT
README.md
finger.jquery.json
package.json

README.md

jQuery Finger

jQuery tap & gestures, fingers in the nose.

jQuery Finger unifies click and touch events by removing the 300ms delay on touch devices. It also provide a common set of events to handle basic gestures such as drag and pinch. Small (< 1kb gzipped), it is focused on performance, is well tested and ... also supports jQuery delegated events.

Build Status Build Status

Getting Started

Download the production version or the development version.

In your web page:

<script src="jquery.js"></script>
<script src="dist/jquery.finger.min.js"></script>
<script>
  // direct event
  $('.touchme').on('tap', function() {
    console.log('direct');
  });

  // delegated event
  $('body').on('tap', '.touchme', function() {
    console.log('delegated');
  });
});
</script>

Documentation

Gestures

tap doubletap press drag flick pinch spread rotate
Available

Here is a complete list of gestures that will probably be supported: http://smustalks.appspot.com/io-12/#44

Examples

(Coming soon)

Release History

v0.0.6

  • updated description.

v0.0.5

v0.0.4

  • added drag and flick gestures.
  • enhanced event object.
  • internal refactoring for consistency.

v0.0.3

  • migration to grunt 0.4.
  • migration to mocha / chaijs for tests.

v0.0.2

  • added doubletap and press gestures.
  • internal refactoring for consistency and performance.

v0.0.1

  • tap gesture first implementation.
Something went wrong with that request. Please try again.