Elena's avatar
Elena
Advocate I
8 years ago
Status:
Needs Votes

The animate function in jQuery

The animate function is extensively being used in the jQuery. It is an advanced concept which is well received by the audience. Well, the main feature of the animation function in jQuery is to apply the custom animation effect to different elements. The syntax for this function is as follows Syntax: $(selector).animate({params}, [duration], [easing], [callback]) Here, * "param" defines the CSS properties where are intended to apply the animation. * "duration" it simply depicts for what exact period of time the animation will run. Its values are: "slow", "fast", "normal" or it can even be milliseconds. * "easing" is the string which specifies the function for the transition. * "callback" it is the function with the help of which we can call an action upon the completion of the animation. Click Here for more Questions with their answers: https://goo.gl/H2GPhF

Recent ideas