TouchList

js.html.TouchList (extern class)

The TouchList interface represents a list of contact points with a touch surface; for example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding TouchList object would have one Touch object for each finger, for a total of three entries.

Documentation TouchList by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Instance Members

length: Int

The number of Touch objects in the TouchList.


item(index: Int): Touch

Returns the Touch object at the specified index in the list.

Name Type
index Int
Returns
Touch