Created
August 6, 2017 09:40
-
-
Save nielsvanvelzen/f52d265ac532e685d982b3f72bab4f90 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.w3c.dom.events.EventTarget | |
import org.w3c.dom.events.UIEvent | |
external abstract class TouchEvent : UIEvent { | |
open val touches: Array<Touch> | |
open val targetTouches: Array<Touch> | |
open val changedTouches: Array<Touch> | |
open val altKey: Boolean | |
open val metaKey: Boolean | |
open val ctlKey: Boolean | |
open val shiftKey: Boolean | |
} | |
external abstract class Touch { | |
open val identifier: Long | |
open val target: EventTarget | |
open val screenX: Double | |
open val screenY: Double | |
open val clientX: Double | |
open val clientY: Double | |
open val pageX: Double | |
open val pageY: Double | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment