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. |
This recognizer is disabled by default because it would make the element blocking. You can enable it by calling:
hammertime.get('pinch').set({ enable: true });