package js.html
Available on jsThe
TouchList
interface represents a list of contact points with a touch surface; for example, if the user has three fingers on the touch surface (such as a screen or trackpad), the correspondingTouchList
object would have oneTouch
object for each finger, for a total of three entries.Documentation TouchList by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
read only length:Int
The number of Touch
objects in the TouchList
.
identifiedTouch (identifier:Int):Touch
Returns the first Touch
item in the list whose identifier matches a specified value.
item (index:Int):Touch
Returns the Touch
object at the specified index in the list.
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/TouchList.html