MCPcopy Create free account
hub / github.com/microsoft/SandDance / _saveClientY

Function _saveClientY

docs/app/js/sanddance-app.js:21496–21498  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

21494 var _element = null;
21495 // remember the clientY for future calls of _preventOverscrolling
21496 var _saveClientY = function(event) {
21497 if (event.targetTouches.length === 1) _previousClientY = event.targetTouches[0].clientY;
21498 };
21499 // prevent the body from scrolling when the user attempts
21500 // to scroll past the top or bottom of the element
21501 var _preventOverscrolling = function(event) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected