API Reference

Class List

pc.Touch

A instance of a single point touch on a pc.TouchDevice

Summary

Properties

idThe identifier of the touch
targetThe target element of the touch event
touchThe original browser Touch object
xThe x co-ordinate relative to the element that the TouchDevice is attached to
yThe y co-ordinate relative to the element that the TouchDevice is attached to

Details

Constructor

Touch(touch)

Create a new Touch object from the browser Touch

Parameters

touchTouchThe browser Touch object

Properties

Numberid

The identifier of the touch

Elementtarget

The target element of the touch event

Touchtouch

The original browser Touch object

Numberx

The x co-ordinate relative to the element that the TouchDevice is attached to

Numbery

The y co-ordinate relative to the element that the TouchDevice is attached to