TouchList

The TouchList interface represents a list of contact points on a touch surface.

MDN Reference

Properties

Link copied to clipboard
open override val length: Int

The length read-only property indicates the number of items (touch points) in a given TouchList.

Functions

Link copied to clipboard
open operator fun get(index: Int): Touch
open operator fun get(key: Symbol.iterator): () -> JsIterator<Touch>
Link copied to clipboard
fun item(index: Int): Touch?

The item() method returns the Touch object at the specified index in the TouchList.

Link copied to clipboard
open inline operator fun iterator(): Iterator<Touch>