node package manager

scroll-position

get the current scrolling position of the browser window

scroll-position

get the current scrolling position of the browser window

Installation

$ component install nathan7/scroll-position

or

$ npm install scroll-position

API

scrollPosition() -> { x, y }

License

MIT