javascript - Mootools - Fx.Tween vs Fx.Morph -


i'm new mootools. notice morph effect similar tween effect.

is difference tween 1 attribute , morph multiple.

can 1 please tell me effects best used for, i.e 2 scenarios 1 effect suited more other.

thanks!

fx.tween more performant fx.morph when animating 1 property, ie:

el.tween('height', 100); 

versus

el.morph({     height: 100 }); 

what don't want do, ever, is:

el.tween('height', 100); el.tween('width', 100); 

instead of:

el.morph({     height: 100,     width: 1000 }); 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -