Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
33
var
getViewportHeight =
function
() {
34
return
window.innerHeight || document.documentElement.clientHeight;
35
};
36
var
requestAnimationFrame =
function
(cb) {
37
setTimeout(
function
() {
38
requestAnimationFrameDoer(cb);
Callers
1
tests.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected