@odopod/odo-reveal
Version:
Reveal elements on the page as they come into view.
31 lines (20 loc) • 574 B
Markdown
> Reveal elements on the page as they come into view.
```shell
npm install @odopod/odo-reveal --save
```
```html
<section class="odo-reveal">
<h2 class="odo-reveal__target">Markup</h2>
<p class="odo-reveal__target odo-reveal--2">…</p>
</section>
```
```js
import OdoReveal from '@odopod/odo-reveal';
const instances = OdoReveal.initializeAll();
```
Visit the [Odo component directory][permalink] for demos, code examples, and documentation.
[]: http://code.odopod.com/odo-reveal/