MCPcopy
hub / github.com/BoxFactura/pulltorefresh.js / screenY

Function screenY

src/lib/events.js:6–11  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

4let _timeout;
5
6const screenY = function screenY(event) {
7 if (_shared.pointerEventsEnabled && _shared.supportsPointerEvents) {
8 return event.screenY;
9 }
10 return event.touches[0].screenY;
11};
12
13export default () => {
14 let _el;

Callers 2

_onTouchStartFunction · 0.85
_onTouchMoveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected