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

Self ng.Element.fade_in ([Integer tm = 500 ], [Function func = Null], [Object obj = Null]) vs. 1.1.0 FULL ONLY

Animate the element opacity to 100. This function is a short cut for ng.Element.animate(obj, func) with preset variables.

Parameters

Integer tm (Optional - Default: 500 (Configuration value)) vs. 1.1.0 Full+Lite
The animation duration in milliseconds (1000 for 1 second).
Function func (Optional - Default: Null) vs. 1.1.0 Full+Lite
A function that will run after the animation is finished.
Object obj (Optional - Default: Null) vs. 1.1.0 Full+Lite
An object for additional animation properties. Check ng.Element.animate.anim_obj for more details.

Return

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

Examples

Using ng.Element.fade_in(tm, func, obj)
Demo:
Hello World

API Menu