W3cubDocs

/Haxe JavaScript

Touch

package js.html

@:native("Touch") Available on js

The Touch interface represents a single contact point on a touch-sensitive device. The contact point is commonly a finger or stylus and the device may be a touchscreen or trackpad.

Documentation Touch by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

new (touchInitDict:TouchInit)

Throws:

null DOMError

Variables

read only clientX:Int

read only clientY:Int

read only force:Float

read only identifier:Int

read only pageX:Int

read only pageY:Int

read only radiusX:Int

read only radiusY:Int

read only rotationAngle:Float

read only screenX:Int

read only screenY:Int

read only target:EventTarget

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/Touch.html