Skip to content

Latest commit

 

History

History

odo-window-events

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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);
});

Visit the Odo component directory for demos, code examples, and documentation.