The ScrollListener class sets up a listener that handles window scroll events.
ScrollListener
The callback to run when the scroll position changes.
Protected
On each animation frame, as long as the listener is active, run the update method.
update
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 v0.23.24
The
ScrollListener
class sets up a listener that handles window scroll events.