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

1.2.0 • Public • Published

Odo Scroll Animation

Performant scroll listeners.

Install

npm install @odopod/odo-scroll-animation --save

Quick Start

import OdoScrollAnimation from '@odopod/odo-scroll-animation';

const scrollElement = document.getElementById('scroller-thing');
const id = OdoScrollAnimation.add(scrollElement, function (scrollTop) {
  console.log('scroller-thing scrolled');
});

Documentation

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

Package Sidebar

Install

npm i @odopod/odo-scroll-animation

Weekly Downloads

295

Version

1.2.0

License

MIT

Unpacked Size

49.7 kB

Total Files

18

Last publish

Collaborators

  • nathanbuchar
  • odopod-admin
  • vestride