scroll-bottom
v0.1.0
Published
Calculate & return bottom position of the vertical scroll
Downloads
4
Readme
scroll-bottom
Calculate & return bottom position of the vertical scroll
Install
$ npm install scroll-bottom
Usage
Simply require and call it.
var scrollBottom = require('scroll-bottom')
var on = require('dom-event')
on(window, 'scroll', function () {
console.log('scroll bottom =', scrollBottom())
})