anima-animation
v0.0.1anima-animation
animation module
Install
$ npm install anima-animation
Usage
var animaAnimation = require('anima-animation');
// use animaAnimation
var animation = new animaAnimation(
1000, // duration(ms)
animaAnimation.cubicbezier.ease, // timingFunction
100, // delay(ms)
function(i1, i2) { // frame
console.log(i1, i2);
}
);
animation.onend(function() {
console.log(end)
});
animation.play();
npm i [email protected]
Source Code
[email protected]:a...Metadata
- Unknown
- >=4.0.0
- qinshi
- released 12/28/2015