Reusable, throttled events on the window object.
npm install @odopod/odo-window-events
import OdoWindowEvents from '@odopod/odo-window-events';
OdoWindowEvents.onScroll(function (scrollTop, scrollLeft) {
console.log('Scrolled', scrollTop, scrollLeft);
});
Visit the Odo component directory for demos, code examples, and documentation.