TapGestureEventData | API - NativeScript

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

Previous
SystemAppearanceChangedEventData

Next
Template

On this page

  1. Summary
    1. Methods
      1. getPointerCount
      2. getX
      3. getY