animatecss-helpers
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

animatecss-helpers

javascript helper functions to apply animate.css classes

Install

yarn add animatecss-helpers animate.css

Usage

import 'animate.css';
import { fade_in } from 'animatecss-helpers';

function animate_something(nodes) {
  fade_in({ nodes });
}

Parameters

name type default description
nodes Array [] an array of nodes you want to applly animations to
delay number 0 time to wait before the animation starts in seconds
duration number 1 time of animation in seconds
stagger number 0 when applying style on multiple nodes: time to wait to apply animation in beetween nodes

Readme

Keywords

Package Sidebar

Install

npm i animatecss-helpers

Weekly Downloads

2

Version

0.0.9

License

MIT

Unpacked Size

188 kB

Total Files

168

Last publish

Collaborators

  • quentinpre