You can touch this!

Hammer helps you add support for touch gestures to your page, and remove the 300ms delay from clicks.

Use the original Hammer.js for gesture support,

and the all new Hammer Time for removing the 300ms delay

Gestures

Hammer.js supports most common single and multi-touch gestures, and is fully extendable to add custom gestures.

Rotate

Pinch

Press

Pan

Tap

Swipe

Try it!

Use the shift key to emulate multi touch with a mouse

Swipe

1 2 3

Pan

Tap

1 2 3

Press

Rotate

Pinch / Zoom

Hammer Time

Hammer time removes the 300ms delay from both clicks and focus

Hammer time is a partial polyfill for the touch-action css property from the pointer events spec http://www.w3.org/TR/pointerevents/#the-touch-action-css-property

None

style="touch-action: none;"
Click Time: 0ms

Manipulation

style="touch-action: manipulation;"
Click Time: 0ms

Auto / unset

style=""
Click Time: 0ms

Team

Hammerjs and its associated libraries are developed entirely by volunteer contributors

Alexander Schmitz

(arschmitz)

Project Lead

Chris Thoburn

(runspired)

Developer

Jorik Tangelder

(jtangelder)

Original Creator (inactive)

Contributing

Interested in helping out on hammer?

We are always looking for new team members to help out.

There is no need to be an expert or even really know JavaScript

Just a few of the areas we could use help in are...

Support

Need help using Hammerjs?

General Help

Bugs / Features

Docs / API

Stack Overflow

Slack #support

Bugs / Features

Github Issues

Slack #general