class js.html.TouchEvent extends UIEvent
Available on js
A TouchEvent
represents an event sent when the state of contacts with a touch-sensitive surface changes. This surface can be a touch screen or trackpad, for example. The event can describe one or more points of contact with the screen and includes support for detecting movement, addition and removal of contact points, and so forth.
Touches are represented by the Touch
object; each touch is described by a position, size and shape, amount of pressure, and target element. Lists of touches are represented by TouchList
objects.
Documentation for this class was provided by MDN.
Instance Fields
A Boolean value indicating whether or not the alt key was down when the touch event was fired. Read only.
A Boolean value indicating whether or not the control key was down when the touch event was fired. Read only.
A Boolean value indicating whether or not the meta key was down when the touch event was fired. Read only.
A Boolean value indicating whether or not the shift key was down when the touch event was fired. Read only.