@odopod/odo-window-events
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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.

Package Sidebar

Install

npm i @odopod/odo-window-events

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

55.7 kB

Total Files

18

Last publish

Collaborators

  • nathanbuchar
  • odopod-admin
  • vestride