JavaScript Properties and Methods for TouchList
objects
[this page | pdf | back links]
Some properties of TouchEvent
objects within the JavaScript
DOM involve
TouchLists. These represent a list of contact points with a touch surface. For
example, if the user has four fingers touching a screen or trackpad then the
corresponding TouchList object would have 4 Touch
entries, one for each finger. It supports the following properties and methods:
Properties:
Property
|
Description
|
More
|
length
|
Returns the number of Touch
objects in the TouchList
|
|
Methods:
Method
|
Description
|
More
|
item()
|
Returns the Touch
object at the specified position in the TouchList
|
|
NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)