Scrollend Event Polyfill
This polyfill adds scrollend event
support via addEventListener
/ removeEventListener
. onscrollend
event handler is not supported.
Installation
Usage
Just import once at the top level. Does nothing when used in node
environment.
Implementation Details
Scroll is considered ended when:
- touch events are not active ( user released touch );
scroll
event was not fired within100ms
since last invocation.