Animate elements with effect
and call callback
when finish.
Animate elements with effect
and remove classes when finish, also call callback
.
Execute a sequence of animations passed in arrayOfEffects
and call callback
when finish all.
$('#title').jAnimate('flipOutX');
$('#title').jAnimateOnce('flipOutX');
$('#title').jAnimateSequence(['bounce', 'tada', 'wobble']);
$('#title').jAnimate('rotateOut', function(){
alert('animation was finished');
});
$('#title').jAnimateOnce('fadeOutDown', function(self, effect){
alert(effect + ' was finished');
});
$('#title').jAnimateSequence(['bounce', 'tada', 'wobble'], function(){
alert('sequence was finished')
});
If you're new to the wonderful world of Animate.css, I highly recommend you visit this link, to see what you can do with Animate.css.
Just include animate.css, jQuery, and jAnimate.js to your project, and follow the examples above!