Skip to content

sterlingrules/jquery.onanimate.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onAnimate

jQuery Plugin for managing CSS3 animations and transition states

Easily trigger a CSS3 animation or transition and fire a callback. Initialize the plugin on the element you wish to animate, then add your callback.

Example: $('#example').onAnimate(options, callback)

options = {
    addClass:    '',
    removeClass: '',
    transition: false,
    animation: true,
    ms: 0 // The amount of time in milliseconds before firing the callback
}

Example 2: $('#example').onAnimate(function() { alert('Callback'); });

About

jQuery Plugin for managing CSS animation and transition states

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published