Skip to content

apply css transitions to elements, calling back when the animation finishes

Notifications You must be signed in to change notification settings

vimond/animate-css

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

animate-css

A small helper for applying CSS animations to an element, with a callback for when that animation finishes. If the browser doesn't support animations, the callback is invoked immediately. It works well with animate.css animations.

Installation

$ component install bmcmahen/animate-css

API

var animate = require('bmcmahen-animate-css');
var el = document.getElementById('animate-me');
animate(el, 'fadeOutRight', function(element){
  // Element has finished animating
});

License

MIT

About

apply css transitions to elements, calling back when the animation finishes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • HTML 63.4%
  • JavaScript 29.5%
  • Makefile 7.1%