Touch object
The read-only Touch object represents an individual touch point for a touch event.
DOM Information
Inheritance Hierarchy
The Touch does not inherit from any class or interface.Members
The Touch object has these types of members:
Properties
The Touch object has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
The viewport x-coordinate of the touch point (excluding scroll offset). | |
|
Read-only |
The viewport y-coordinate of the touch point (excluding scroll offset). | |
|
Read-only |
The touch point's unique ID. | |
|
Read-only |
The viewport x-coordinate of the touch point (including scroll offset). | |
|
Read-only |
The viewport y-coordinate of the touch point (including scroll offset). | |
|
Read-only |
The screen x-coordinate of the touch point. | |
|
Read-only |
The screen y-coordinate of the touch point. | |
|
Read-only |
The hit-tested node on which the touch point started when it was first placed on the surface. |
Show: