Toggle navigation

Hammer.Pinch(options)

Recognized when two or more pointers are moving toward (zoom-in) or away from each other (zoom-out).

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

Events

Notes

This recognizer is disabled by default because it would make the element blocking. You can enable it by calling: javascript hammertime.get('pinch').set({ enable: true });

Edit this page on GitHub