MCPcopy
hub / github.com/DHTMLX/gantt / pageScrollY

Function pageScrollY

samples/common/codehighlight/codemirror.js:2572–2575  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2570 return window.pageXOffset || (document.documentElement || document.body).scrollLeft
2571 }
2572 function pageScrollY() {
2573 if (chrome && android) { return -(document.body.getBoundingClientRect().top - parseInt(getComputedStyle(document.body).marginTop)) }
2574 return window.pageYOffset || (document.documentElement || document.body).scrollTop
2575 }
2576
2577 function widgetTopHeight(lineObj) {
2578 var height = 0;

Callers 2

intoCoordSystemFunction · 0.85
fromCoordSystemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected