Runs callbacks when user scroll up or down thresholds.
npm install scrollbackThis simple module allows you to hook up a callback for when the user scrolls the page to a particular Y position, either going up or down.
`$3
`
`$3
`
const request = {
callback: callbackReference,
position: positionInPixelsToTriggerCallback,
direction: ifTheCallbackIsTriggerGoingUpDownOrBoth, // Optional. Default "down"
oneShot: isItCallableOnlyOnce // Optional. Default false
}
`
$3
`
scrollback.register( request )
``