Dart API Referencedart:htmlTouchList

TouchList Interface

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

Extends

List<E>

Methods

Code Touch item(int index) #

Returns the Touch object at the specified index in the list. You can also simply reference the TouchList using array syntax (touchList[x]).
Touch item(int index);

Fields

Code final int length #

The number of Touch  objects in the TouchList. Read only.
final int length;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.