Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 494 Bytes

README.md

File metadata and controls

16 lines (9 loc) · 494 Bytes

js-animateEngin

function move(element, delta, delay ,duration, direction, to)

element= the element which is going to move;

delta= the animation method name, some animations methods are in animation_pack folder .

delay=The delay is the setInterval second param.

duration=The duration (ms) is how long the animation is going to take.

direction= defines which direction the element is going to move . that is left ,right,top,bottom

to = where the element is going to move