thumbs.js

About

Add touch support to your browser.

Usage


<!-- include before all javascript -->
<script type="text/javascript" src="thumbs.js"></script>

// later on...

element.addEventListener('touchstart', callback, false);

// or an attribute...

element.setAttribute('ontouchstart', 'console.log("hi");');

// or an inline attribute...

<a href="#" ontouchstart="console.log('hi');">Hi</a>

Download

0.6.0 - commented (2.5 kB) or minified (700 bytes)

0.5.2 - commented (2.0 kB) or minified (612 bytes)

0.5.0 - commented (2.0 kB) or minified (617 bytes)

0.4.0 - commented (1.9 kB) or minified (595 bytes)

0.3.0 - commented (2.6 kB) or minified (660 bytes)

Community

PhoneGap Google Groups for questions.

#phonegap on irc.freenode.net to chat.

Contribute

Soure code is on Github.

Report issues on the GitHub Issue Tracker.

Contributor guidelines are on the README.

Contributors

mwbrooks (@mwbrooks) - core maintainer

ryanbetts (@hitsmachines) - core maintainer

alunny (@alunny) - advice

purplecabbage (@purplecabbage) - advice

tf - bug fixes

> 

Fork me on GitHub