1.2.0 • Published 6 years ago

@odopod/odo-window-events v1.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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.