anima-animation

2.0.0 • Public • Published

anima-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();

Readme

Keywords

none

Package Sidebar

Install

npm i anima-animation

Weekly Downloads

0

Version

2.0.0

License

none

Last publish

Collaborators

  • jaredleechn
  • smbey0nd
  • yuanfei.gyf