8.6 Released with 🥽 visionOS support and more!
Check it out
interface TapGestureEventData extends GestureEventData {
  getPointerCount(): number;
  getX(): number;
  getY(): number;
}
Provides gesture event data.

Summary

Methods

getPointerCount

getPointerCount(): number
Gets the number of pointers in the event.
Returns number

getX

getX(): number
Gets the X coordinate of this event inside the view that triggered the event
Returns number

getY

getY(): number
Gets the Y coordinate of the event inside the view that triggered the event.
Returns number