Inherits from JavaScript Object

Overview

TouchList is implemented to match the W3C specification. It’s an immutable list of Touch instances.

Elements can be accessed using the item() function or via the array style operator:

var touch = touchList.item(0);
//or
var touch = touchList[0];

Overview of Tasks

Attributes

  • Type
  • int
  • Writability
  • readonly

Functions

  • Return Type
  • Touch
  • Touch

Attributes

length

readonly int length

Functions

identifiedTouch(identifier)

Touch identifiedTouch(int identifier)

Parameters

int identifier

Return Value: Touch

item(index)

Touch item(int index)

Parameters

int index

Return Value: Touch