Interface TouchList

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

interface TouchList {
    length: number;
    item(index): Touch;
    [index: number]: Touch;
}

Indexable

[index: number]: Touch

Properties

Methods

Properties

length: number

Methods

  • Parameters

    • index: number

    Returns Touch