jQuery UI hide
The jQuery hide() method is used to manage jQuery UI visual effects. It applies an animation effect to hide elements.
Parameters of hide method:
- Effect: This parameter specifies the effects which are used for transition.
- Options: This is used for specifying the specific setting and easing for the effects. Each effect has its own set of options.
- Duration: This specifies the time duration and indicates the number of milliseconds of the effect. Its default value is 400.
- Complete: It is a callback method. It is called for each element when the effect is completed for the elements.
Example of jQuery UI hide() method
Let's take an example of jQuery UI shake effect with hide() method.
Test it Now