javascript - Android 4.x - e.preventDefault e.pageX & e.pageY coordinates NON-JQUERY -
as title says, running android 4.x phonegap.
i not willing use jquery no jquery in here.
how 1 go getting coordinates of touchstart, touchend , touchmove when e.preventdefault enabled?
the coordinates in e is, event variable.
var x = e.targettouches[0].pagex, y = e.targettouches[0].pagey;
Comments
Post a Comment