Documentation
Reference
2.1.50 (current version)
collection
interactivityModel
Interfaces

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:

ParameterDefault valueDescription
originalEvent *
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: Object

DOM event.

type

Type: String

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

* Mandatory parameter/option.

Methods

NameReturnsDescription
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:

ParameterDefault valueDescription
name*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: String

Property name.

* Mandatory parameter/option.