createTouch method

Creates a Touch object with the specified attributes.

Syntax

var retVal = Document.createTouch(view, target, identifier, pageX, pageY, screenX, screenY);

Parameters

view [in]

Type: Window

target [in]

Type: Node

identifier [in]

Type: long

pageX [in]

Type: long

pageY [in]

Type: long

screenX [in]

Type: long

screenY [in]

Type: long

retVal [out, retval]

Type: Touch

See also

Document
createTouchList
TouchEvent
TouchList

 

 

Show: