1.1.1 • Published 5 years ago

animatecss-helper v1.1.1

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

Helper function to add multiple animate.css classes to an element. Supports animate.css v3.x and v4.x

Installation

npm i animatecss-helper --save

import animateCSS from "animatecss-helper";

or get it via CDN:

<script src="https://cdn.jsdelivr.net/npm/animatecss-helper@1.1.0/index.js/animatecss-helper.min.js"></script>

Usage

animateCSS(selector, classes, () => {
    // callback after animation ends
})

For example For v3

animateCSS('#id', 'fadeOut slow', () => {
    // callback after animation ends
})

For v4

animateCSS('#id', 'animate__fadeOut animate__slow', () => {
    // callback after animation ends
})
1.1.1

5 years ago

1.1.0

5 years ago

1.1.0-alpha.7

5 years ago

1.1.0-alpha.5

5 years ago

1.1.0-alpha.6

5 years ago

1.1.0-alpha.4

5 years ago

1.1.0-alpha.3

5 years ago

1.1.0-alpha.2

5 years ago

1.1.0-alpha.1

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago