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:

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.