Returns the Y coordinate of the touch point relative to the screen, not including any scroll offset.
Returns the Y coordinate of the touch point relative to the screen, not including any scroll offset.
A number.
The Touch.screenX example includes an example of this property's usage.
Specification |
---|
Touch Events # dom-touch-screeny |
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
screenY |
22 | ≤18 |
52This interface is only exposed if a touch input device is detected.18–24Removed in bug 888304 due to web compatibility issues. |
No | 15 | No | 4.4 | 25 | 6 | 14 | 10 | 1.5 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenY