Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.23 KB

README.md

File metadata and controls

33 lines (27 loc) · 1.23 KB

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>