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; 

from: obtaining ipad touchstart coordinates


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -