-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Plugins
Jorik Tangelder edited this page Sep 1, 2014
·
8 revisions
This WIKI is for the 1.1 version. For the 2.0 documentation, go to the website.
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