Results 1 - 20 of 191

Touch.screenX

Returns the X coordinate of the touch point relative to the screen, not including any scroll offset.
API DOM Mobile Property touch

Touch.screenY

Returns the Y coordinate of the touch point relative to the screen, not including any scroll offset.
API DOM Mobile Property touch

Vibration API

Most modern mobile devices include vibration hardware, which lets software code provide physical feedback to the user by causing the device to shake. The Vibration API offers Web apps the ability to access this hardware, if it exists, and does nothing if the device doesn't support it.
Beginner Firefox OS Mobile Vibration

Touch.radiusX

Returns the X radius of the ellipse that most closely circumscribes the area of contact with the touch surface. The value is in CSS pixels of the same scale as Touch.screenX.
API DOM Experimental Mobile Property touch

Touch.radiusY

Returns the Y radius of the ellipse that most closely circumscribes the area of contact with the touch surface. The value is in CSS pixels of the same scale as Touch.screenX.
API DOM Experimental Mobile Property touch

Touch.rotationAngle

Returns the rotation angle, in degrees, of the contact area ellipse defined by Touch.radiusX and Touch.radiusY. The value may be between 0 and 90. Together, these three values describe an ellipse that approximates the size and shape of the area of contact between the user and the screen. This may be a relatively large ellipse representing the contact between a fingertip and the screen or a small area representing the tip of a stylus, for example.
API DOM Experimental Mobile Property touch

Touch.target

Returns the Element (EventTarget) on which the touch contact started when it was first placed on the surface, even if the touch point has since moved outside the interactive area of that element or even been removed from the document. Note that if the target element is removed from the document, events will still be targeted at it, and hence won't necessarily bubble up to the window or document anymore. If there is any risk of an element being removed while it is being touched, the best practice is to attach the touch listeners directly to the target.
API DOM EventTarget Mobile Property touch

Touch events

In order to provide quality support for touch-based user interfaces, touch events offer the ability to interpret finger (or stylus) activity on touch screens or trackpads.
Advanced DOM Event Guide Mobile Overview

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