node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



This gives a more native feel to touching an element. Uses 'touchstart' event which is a lot faster than 'click'. Like native apps, you can touch an element, then drag your finger off the element and it will not register as a click. If you drag your finger back on, it will register. For non-touch devices, it will fire the 'touched' event when it detects a click.


 npm install touch-element


git clone 
npm install
open test/index.html


var TouchElement = require('TouchElement'),
$('#el').touchElement().on('touched', this.onElTouch);