Safari Developer Library

Developer

TouchList Class Reference

Options
Deployment Target:

On This Page

TouchList

The TouchList class is used to represent a collection of Touch objects. For example, the changedTouches method in TouchEvent returns a TouchList object.

  • length Property

    The number of Touch objects in this TouchList object.

    Declaration

    readonly attribute unsigned long length

  • Returns the Touch object at the given index.

    Declaration

    Touch item (in unsigned long index);

    Parameters

    index

    The index of the item to return.