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
Post a Comment