@odopod/odo-window-events
v1.2.0
Published
Reusable, throttled events on the window object.
Downloads
50
Readme
Odo Window Events
Reusable, throttled events on the window object.
Install
npm install @odopod/odo-window-events
Quick Start
import OdoWindowEvents from '@odopod/odo-window-events';
OdoWindowEvents.onScroll(function (scrollTop, scrollLeft) {
console.log('Scrolled', scrollTop, scrollLeft);
});
Documentation
Visit the Odo component directory for demos, code examples, and documentation.