Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 559 Bytes

recognizer-pinch.md

File metadata and controls

23 lines (19 loc) · 559 Bytes
layout title
default
Pinch recognizer

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

  • pinch, together with all of below
  • pinchstart
  • pinchmove
  • pinchend
  • pinchcancel
  • pinchin
  • pinchout