Touch.pageX

Summary

Returns the X coordinate of the touch point relative to the viewport, including any scroll offset.

Syntax

var x = touchItem.pageX;

Return value

x
The X coordinate of the touch point relative to the viewport, including any scroll offset.

Specification

Touch Events Specification

See also

Document Tags and Contributors

Contributors to this page: fscholz, kosvrouvas, kscarfone, Khodaidad_Basharmand, Sheppy
Last updated by: fscholz,