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 | Methods

Constructor

domEvent.Touch(originalEvent[, type])

Creates an event object that describes a touch event (single touch on the screen).

Parameters:

Parameter

Default value

Description

originalEvent*

Type: Object

DOM event.

type

Type: String

Type of event. If omitted, it is taken from originalEvent.type.

* Mandatory parameter/option.

Methods

Name

Returns

Description

get(name)

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

name*

Type: String

Property name.

* Mandatory parameter/option.