Skip to content

kissyteam/anim

Repository files navigation

anim

animation using timer and transition

anim NPM downloads Build Status Coverage Status Dependency Status Bower version node version

browser support

example

<script src='/mx_modules/modulex-debug.js'></script>
<script>
modulex.config('base', '/mx_modules');
modulex.use('anim', function(Anim){
    new Anim(domNode,{
        width: '100px'
    },{
        duration:0.5,
        complete:function(){
            alert('complete');
        }
    }).run();
});
</script>