Skip to content

qpre/animatecss-helpers

Repository files navigation

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

About

javascript helper functions to apply (animate.css)[https://animate.style] classes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published