English
Appearance
Gets the vertical scroll position of an element or window.
import { getScrollTop } from 'rattail' const scrollTop = getScrollTop(window)
element
Element | Window
number