- PressHandlingOptions
- capturePressThresholdMs
- ignorePressEntirely
- longTapThresholdMs
- onCapturePressCancelled
- onCapturePressEnd
- onCapturePressMove
- onCapturePressStart
- onLongTap
- onPotentialLongTap
- onPotentialTap
- onTap
- onTapAbandoned
- potentialTapBounds
• capturePressThresholdMs? : undefined | number
This is more of an advanced option. If set, this will be the number of
milliseconds until the press is captured. Once it is captured, it
won't be interpreted as a tap, long tap, or pan, and the onCapturePress*
props will begin to be called.
The default is undefined (so presses won't be captured)
• ignorePressEntirely? : undefined | false | true
• longTapThresholdMs? : undefined | number
If a press is released after this threshold, it will be considered a long tap. The default is undefined.
• onCapturePressCancelled? : undefined | function
• onCapturePressEnd? : undefined | function
• onCapturePressMove? : undefined | function
• onCapturePressStart? : undefined | function
• onLongTap? : undefined | function
• onPotentialLongTap? : undefined | function
• onPotentialTap? : undefined | function
• onTap? : undefined | function
• onTapAbandoned? : undefined | function
• potentialTapBounds? : ClientPixelUnit
The area around the initial event in which the pointer can move before the press is interpreted as just a pan. It will not be considered a tap or long tap after the pointer moves outside that area, and it can't be captured.