-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Plugins
Enable multitouch gestures on desktop browsers by loading this plugin. Make sure you load it right after the hammer.js include scripttag, and call Hammer.plugins.fakeMultitouch();
Show touches. This is useful for desktop browsers with the fakemultitouch plugin. It makes use of the css property pointer-events
, so it wont work on old IE versions.
<!--[if !IE]> -->
<script>
Hammer.plugins.showTouches();
</script>
<!-- <![endif]-->
jQuery plugin, also available as in a dist version. It makes Hammer trigger jQuery events, so you can use all the jQuery magic on the gestures, including event delegation.
Angular plugin by @monospaced. Within an Angular.js application, allows you to specify custom behaviour on Hammer.js touch events. https://github.com/monospaced/angular-hammer
Hammer supports AMD loading by default. http://requirejs.org/docs/whyamd.html