W3cubDocs

/Haxe JavaScript

PointerEvent

package js.html

extends MouseEventUIEventEvent

@:native("PointerEvent") Available on js

The PointerEvent interface represents the state of a DOM event produced by a pointer such as the geometry of the contact point, the device type that generated the event, the amount of pressure that was applied on the contact surface, etc.

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

See:

Constructor

new (type:String, ?eventInitDict:PointerEventInit)

Throws:

null DOMError

Variables

read only height:Int

read only isPrimary:Bool

read only pointerId:Int

read only pointerType:String

read only pressure:Float

read only tiltX:Int

read only tiltY:Int

read only width:Int

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