TouchList extension type
The TouchList
interface 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.
Note: This interface was an attempt to create an unmodifiable list and only continues to be supported to not break code that's already using it. Modern APIs use types that wrap around ECMAScript array types instead, so you can treat them like ECMAScript arrays, and at the same time impose additional semantics on their usage (such as making their items read-only).
Properties
Methods
-
item(
int index) → Touch? -
The
item()
method returns the Touch object at the specified index in the TouchList. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited