MCPcopy Create free account
hub / github.com/TruthHun/BookStack / pageScrollX

Function pageScrollX

static/mergely/lib/codemirror.js:2775–2775  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2773 }
2774
2775 function pageScrollX() { return window.pageXOffset || (document.documentElement || document.body).scrollLeft; }
2776 function pageScrollY() { return window.pageYOffset || (document.documentElement || document.body).scrollTop; }
2777
2778 // Converts a {top, bottom, left, right} box from line-local

Callers 2

intoCoordSystemFunction · 0.70
fromCoordSystemFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected