MCPcopy
hub / github.com/stutrek/scrollmonitor / getViewportHeight

Function getViewportHeight

test/tests.js:33–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 };
32
33var getViewportHeight = function () {
34 return window.innerHeight || document.documentElement.clientHeight;
35};
36var requestAnimationFrame = function (cb) {
37 setTimeout(function () {
38 requestAnimationFrameDoer(cb);

Callers 1

tests.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected