Touch
JS
TouchTouch point.
Used only as the parameter of the callback function in touch events.
Touch Properties
| Property | Type | Description |
|---|---|---|
| identifier | number | Unique identifier of the Touch object, read-only. It stays unchanged throughout the entire movement of a single touch action (the finger's touch) across the surface. It can be used to determine whether the tracked touch is the same touch process |
| screenX | number | X coordinate of the touch point relative to the left edge of the visible viewport |
| screenY | number | Y coordinate of the touch point relative to the left edge of the visible viewport |
| clientX | number | X coordinate of the touch point relative to the left edge of the visible viewport |
| clientY | number | Y coordinate of the touch point relative to the left edge of the visible viewport |
