Releases: ssorallen/jquery-scrollstop
Releases · ssorallen/jquery-scrollstop
v1.2.0
jquery-scrollstop is now published to NPM and available via npm install jquery-scrollstop
.
It can be imported as an AMD module, as a CommonJS module, or used with a global
jQuery as before.
https://www.npmjs.com/package/jquery-scrollstop
- 1.2.0 is usable as an AMD or as a CommonJS module. It still works fine
with a global jQuery as well. - Re-build locally with
npm build
.
Per-element Config
Latency can be configured per-element by passing options when the event listener
is bound. If multiple event listeners are bound to the same element, only the
data from the first event listener will set the configuration.
// Configure latency to 650ms for #scrolling-div
$("#scrolling-div").on("scrollstop", {latency: 650}, function() { ... });
v1.0.1
Initial release
Initial release of working code.