Touch
A instance of a single point touch on a TouchDevice.
Summary
Properties
id | The identifier of the touch. |
target | The target DOM element of the touch event. |
touch | The original browser Touch object. |
x | The x coordinate relative to the element that the TouchDevice is attached to. |
y | The y coordinate relative to the element that the TouchDevice is attached to. |
Details
Constructor
Touch(touch)
Create a new Touch object from the browser Touch.
Parameters
touch | globalThis.Touch | The browser Touch object. |