jQuery slideUp() Method
jQuery slideUp() Method
The slideUp() method is used to slide up the selected elements. In other words, it hides the element. It is used in combination with the slideDown() method.
Syntax:-
Its syntax is:- $(selector).slideUp(speed, easing, callback)
Further Explanation:-
Parameter | Description |
---|---|
speed | Optional. Specifies the speed of the fading effect. The default is 400 milliseconds. |
easing | Optional. Specifies the speed of the element at different points of the animation. The default is swing. |
callback | Optional. A function to be executed after the slideUp() method is completed. |