node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org ยป

scroll-position

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