lazy.js
Install:
npm install scroll-lazy
Event emitter for lazy scrolling.
// Createvar Lazy = var lazy = Lazy// stop lazylazy
With option.
// this is default option settinglazy
Option
threshold
default:10
container
default:window.innerHeight
scroll
default:document.body.scrollTop
body
default:document.body.outerHeight
License
MIT