Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 481 Bytes

recognizer-press.md

File metadata and controls

18 lines (15 loc) · 481 Bytes
layout title
default
Press recognizer

Hammer.Press(options)

Recognized when the pointer is down for x ms without any movement.

Option Default Description
event press Name of the event.
pointers 1 Required pointers.
threshold 5 Minimal movement that is allowed while pressing.
time 500 Minimal press time in ms.

Events

  • press
  • pressup