1.2.4 • Published 2 years ago

lanimate v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

🥤 lanimate 🥤

lanimate is a small library that animates appearing dom elements.

installation

use it as a module:

npm install lanimate
import Lanimate from 'lanimate';

or as a ready-to-go bundle:

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

usage

const lanimate = new Lanimate();
lanimate.init();
<h2
    data-lanimate="fade|scrollX|scrollY|scale|rotate|rotate3d|skew"
    data-lanimate-speed="3000"
    data-lanimate-delay="1500"
    data-lanimate-split="none|char|word"
>
    Title
</h2>

if you want to prevent fouc, add this css:

[data-lanimate] {
    opacity: 0;
}
1.2.4

2 years ago

1.2.3

2 years ago

1.2.0

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago