Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Per-element Config.tar.gz | 2014-01-23 | 3.4 kB | |
Per-element Config.zip | 2014-01-23 | 4.4 kB | |
README.md | 2014-01-23 | 364 Bytes | |
Totals: 3 Items | 8.2 kB | 0 |
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.
:::js
// Configure latency to 650ms for #scrolling-div
$("#scrolling-div").on("scrollstop", {latency: 650}, function() { ... });