scroll-bottom

0.1.0 • Public • Published

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())
})

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i scroll-bottom

    Weekly Downloads

    7

    Version

    0.1.0

    License

    BSD

    Last publish

    Collaborators

    • tehshrike