1.2.4 • Published 8 months ago

lanimate v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months 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

8 months ago

1.2.3

8 months ago

1.2.0

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago