0.0.3 • Published 10 years ago

animatewheninview v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

What it is

Animate in or make callbacks when elements scrolls into viewport

Installation

animatewheninview.js is available as an npm package.

npm install animatewheninview --save

Add animatewheninview.min.js to the bottom of the <body> like this:

<script src="animatewheninview.min.js"></script>

Note

This is an very early version of animatewheninview.

How to Use

Usage

In this example the div will animate in (css) when it enters the viewport.

<div data-animatewheninview>
	<img src="demo.jpg" >
</div>

Options

Coming soon.

Browser Support

Coming soon.

License

The code is available under the MIT License.

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago