Appearance
function getScrollTop(element): number;
Get the scroll position.
element
HTMLElement
Window
number
The scroll position.
console.log(getScrollTop(window))
1.0.0