@odopod/odo-reveal

Reveal elements on the page as they come into view.

Usage no npm install needed!

<script type="module">
  import odopodOdoReveal from 'https://cdn.skypack.dev/@odopod/odo-reveal';
</script>

README

Odo Reveal

Reveal elements on the page as they come into view.

Install

npm install @odopod/odo-reveal --save

Quick Start

<section class="odo-reveal">
  <h2 class="odo-reveal__target">Markup</h2>
  <p class="odo-reveal__target odo-reveal--2">…</p>
</section>
import OdoReveal from '@odopod/odo-reveal';

const instances = OdoReveal.initializeAll();

Documentation

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