πŸš€ 8.9 Released! β†’ ⚑️ New Node-API Engine Preview, πŸ“² ns widget ios, πŸ’… Tailwind v4 and more...
Read Announcement
TouchGestureEventData
interface TouchGestureEventData extends TapGestureEventData {
 action: "up" | "move" | "down" | "cancel";
 getActivePointers(): Pointer[];
 getAllPointers(): Pointer[];
}
Provides gesture event data.

Summary ​

Properties

action
4 properties inherited from GestureEventData
Click to expand
android
ios
type
view
2 properties inherited from EventData
Click to expand
eventName
object

Methods

getActivePointers
getAllPointers
3 methods inherited from TapGestureEventData
Click to expand
getPointerCount
getX
getY

Properties ​

action ​

action: "up"|"move"|"down"|"cancel"
Gets action of the touch. Possible values: 'up', 'move', 'down', 'cancel'

Methods ​

getActivePointers ​

getActivePointers(): Pointer[]
Gets the pointers that triggered the event. Note: In Android there is aways only one active pointer.
Returns Pointer[]

getAllPointers ​

getAllPointers(): Pointer[]
Gets all pointers.
Returns Pointer[]
Previous
TimerInfo

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /