1.0.2 • Published 6 years ago
window-scroll-position
Get the current scroll position of target window
Install
npm install window-scroll-position
Usage
var windowScrollPosition = require('window-scroll-position')
windowScrollPosition(/* (optional) target window object */)
// => { top, left, width, height }
License
MIT