npm.io
1.2.0 • Published 8 years ago

@odopod/odo-window-events

Licence
MIT
Version
1.2.0
Deps
2
Size
54 kB
Vulns
0
Weekly
0
Stars
27

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.

Keywords