package js.html
Available on jsThe
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.Documentation TouchEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
new (type:String, ?eventInitDict:TouchEventInit)
Throws:
null |
DOMError |
---|
read only altKey:Bool
read only changedTouches:TouchList
read only ctrlKey:Bool
read only metaKey:Bool
read only shiftKey:Bool
read only targetTouches:TouchList
read only touches:TouchList
initTouchEvent (type:String, canBubble:Bool, cancelable:Bool, view:Window, detail:Int, ctrlKey:Bool, altKey:Bool, shiftKey:Bool, metaKey:Bool, touches:TouchList, targetTouches:TouchList, changedTouches:TouchList):Void
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/TouchEvent.html