For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages
are available by appending .md to any URL.
Interface TouchList
interface TouchList {
length: number;
"[iterator]"(): ArrayIterator<Touch>;
item(index: number): Touch | null;
[index: number]: Touch;
}
length: number;
"[iterator]"(): ArrayIterator<Touch>;
item(index: number): Touch | null;
[index: number]: Touch;
}
Indexable
Properties
Readonlylength
length: number
The length read-only property indicates the number of items (touch points) in a given TouchList.
Methods
[iterator]
-
Returns ArrayIterator<Touch>
item
-
The
item()method returns the Touch object at the specified index in the TouchList.Parameters
- index: number
Returns Touch | null
The
TouchListinterface represents a list of contact points on 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.MDN Reference