TouchList

sealed external class TouchList : ArrayLike<Touch> , JsIterable<Touch> (source)

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

Properties

Link copied to clipboard
abstract val length: Int

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
Link copied to clipboard
open inline operator fun iterator(): Iterator<Touch>