Results 21 - 35 of 35

TouchEvent

The TouchEvent interface 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.
API DOM Interface Reference Référence touch

TouchEvent.altKey

A Boolean value indicating whether or not the alt (Alternate) key is enabled when the touch event is created. If the alt key is enabled, the attribute's value is true. Otherwise, it is false.
API DOM Mobile Property touch TouchEvent

TouchEvent.ctrlKey

A Boolean value indicating whether the control (Control) key is enabled when the touch event is created. If this key is enabled, the attribute's value is true. Otherwise, it is false.
API DOM Mobile Property touch TouchEvent

TouchEvent.metaKey

A Boolean value indicating whether or not the Meta key is enabled when the touch event is created. If this key is enabled, the attribute's value is true. Otherwise, it is false.
API DOM Mobile Property touch TouchEvent

TouchEvent()

The TouchEvent() constructor creates a new TouchEvent.
API Constructor DOM events Reference touch

TouchEvent.changedTouches

A TouchList whose touch points (Touch objects) varies depending on the event type, as follows:
API DOM DOM Reference Mobile Property Reference Référence touch

TouchEvent.targetTouches

A TouchList listing all the Touch objects for touch points that are still in contact with the touch surface and whose touchstart event occurred inside the same target element as the current target element.
API DOM DOM Reference Mobile Property Reference Référence touch

TouchEvent.touches

A TouchList listing all the Touch objects for touch points that are currently in contact with the touch surface, regardless of whether or not they've changed or what their target element was at touchstart time.
API DOM DOM Reference Mobile Property Reference Référence touch

TouchList

The 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 corresponding TouchList object would have one Touch object for each finger, for a total of three entries.
API DOM DOM Reference Mobile Reference Référence touch TouchList

TouchList.item()

Returns the Touch object at the specified index in the TouchList.
API DOM DOM Reference Method Mobile Reference Référence touch

TouchList.length

This read-only property indicates the number of items (touch points) in a TouchList.
API DOM DOM Reference Mobile Property Reference Référence touch