Toggle navigation

Hammer.Rotate(options)

Recognized when two or more pointer are moving in a circular motion.

Option Default Description
event rotate Name of the event.
pointers 2 Required pointers, with a minimal of 2.
threshold 0 Minimal rotation before recognizing.

Events

Notes

This recognizer is disabled by default because it would make the element blocking. You can enable it by calling:

hammertime.get('rotate').set({ enable: true });

Edit this page on GitHub