• ng.Element.animate is not available in the Lite version

Self ng.Element.animate (Object anim_obj, [Function func = Null]) vs. 1.1.0 FULL ONLY

This method will animate the HTML Element CSS properties. You can chain multiple animations (including ng.Element.fade_out, ng.Element.fade_in, ng.Element.move_to, ng.Element.bezier_move and ng.Element.reverse_animation) one after the other. The custom event onAnimationFinish will be fired when the animation is over.


Object anim_obj vs. 1.1.0 Full+Lite
An object that contains the animation properties. The only required key is the "end" which is an object of CSS properties to animate. For example { end : { width : 500 } }
Function func (Optional - Default: Null) vs. 1.1.0 Full+Lite
A function that will run after the animation is finished.


Self Required vs. 1.1.0 Full+Lite
The original HTML Element.


Using ng.Element.animate(obj, func)
In this example we'll create multiple animation and chain them together.
Hello World

API Menu