Constructor
new Touch(touch)
Create a new Touch object from the browser Touch
Parameters:
Name |
Type |
Description |
touch |
Touch
|
The browser Touch object |
Properties:
Name |
Type |
Description |
id |
Number
|
The identifier of the touch |
x |
Number
|
The x co-ordinate relative to the element that the TouchDevice is attached to |
y |
Number
|
The y co-ordinate relative to the element that the TouchDevice is attached to |
target |
Element
|
The target element of the touch event |
touch |
Touch
|
The original browser Touch object |
- Source: