资 源 简 介
what is this
css3 transition animation wrapper for jQuery
includes $.ui.transformAnimator for -webkit-transform
http://dl.dropbox.com/u/268240/googleCode/jquery-ui-transitionanimator/index.html
usage
```
$(element).transitionAnimator({
property: opacity
});
$(element).transitionAnimator("animate",{
val: 0.5,
duration: 1000,
easing: "ease-in",
before: function(){
// before transition callback
},
after: function(){
// after transition callback
}
});
// animations will be queued and invoked like jQuery"s animation
$(element).transitionAnimator("animate",{
val: 0.5,
duration: 1000
});
```
use $.ui.transformAnimator for -webkit-transform
```
$(element).transformAnimator();
$(element).transitionAnimator("animate",{
val: "translate3d(0,100px,0)",
duration: 1000,
easing: "ease-in",
before: function(){
// before transition callback
},
after: function(){
// after transition callback
}
});
//