scroll-position

get the current scrolling position of the browser window

npm install scroll-position
4 downloads in the last month

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

npm loves you