Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/electerious/basicScroll
/ getViewportHeight
Function
getViewportHeight
src/scripts/main.js:65–69 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
63
* @returns {Number} viewportHeight
64
*/
65
const
getViewportHeight =
function
() {
66
67
return
(window.innerHeight || window.outerHeight)
68
69
}
70
71
/**
72
* Checks
if
a value is absolute.
Callers
1
relativeToAbsoluteValue
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected