jquery.animated.js
Useful helper for Animate.css
. If you wanna use other animations, just include another stylessheet & set custom options.
Use
-
Set
Animate.css
or part of it. -
Set jQuery & jQuery.Animated.js.
- Init plugin.
// Just init on click and use shake or some another effect; // Use with callback; // Use with options; // Also you can reset default global options before init$animatedoptions = animatedClass: 'animated' // Base animation class animationPrefix: '' // Prefix for `animationClass`, it's useful if you use BEM animationClass: 'shake' // Animation effect class onAnimationEnd: null // Callback; // And simply use with default or custom global options; // And with callback;
License
Released under the MIT license.