This module exposes types and functions common to both single and multi touch interactions.
Retrieve the changedTouches property.
It returns a dictionary whose keys are the unique identifiers of the touches.
Retrieve the targetTouches property.
It returns a dictionary whose keys are the unique identifiers of the touches.
Retrieve the touches property.
It returns a dictionary whose keys are the unique identifiers of the touches.
A simple type alias for the coordinates of a JavaScript Touch object.
Retrieve the clientX and clientY coordinates.
Type alias for a touch event.
The properties
touches,targetTouchesandchangedTouchesare accessible through their corresponding functions.To have more info about these properties and how to use them, please refer to the Mozilla documentation