The callback to run when the scroll position changes.
On each animation frame, as long as the listener is active, run the
update
method.
Start listening to and handling the window's scroll position.
Stop listening to and handling the window's scroll position.
Run the callback, whether there was a scroll event or not.
Generated using TypeDoc version 0.22.10
The
ScrollListener
class sets up a listener that handles window scroll events.