Documentation
Reference
2.1.56 (current version)
collection
interactivityModel
Interfaces

domEvent.Pointer

Extends IMultiTouchEvent.

Event object. Provides proxy methods for accessing the fields and methods of a DOM event (single touch on the screen).

Constructor | Methods

Constructor

domEvent.Pointer(originalEvent[, type])

Creates an object that describes a pointer event.

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.