domEvent.Touch
Extends IMultiTouchEvent.
Event object. Provides proxy methods for accessing fields and methods of DOM events. The returned values are standardized to account for browser variations.
Constructor
domEvent.Touch(originalEvent[, type])
Creates an event object that describes a touch event (single touch on the screen).
Parameters:
Parameter |
Default value |
Description |
— |
Type: Object DOM event. |
|
— |
Type: String Type of event. If omitted, it is taken from originalEvent.type. |
* Mandatory parameter/option.
Methods
Name |
Returns |
Description |
Object |
Returns the value of the original event property. Property values are cached. |
Methods details
get
{Object} get(name)
Returns the value of the original event property. Property values are cached.
Parameters:
Parameter |
Default value |
Description |
|
— |
Type: String Property name. |
* Mandatory parameter/option.
Mandatory parameter/option.