What is the use of the slideDown () method in jQuery
Editor to share with you what is the use of the slideDown () method in jQuery, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
JQuery slideDown () method
The jQuery slideDown () method is used to slide the element down.
Syntax:
$(selector) .slideDown (speed,callback)
The optional speed parameter specifies the duration of the effect. It can take the following values: "slow", "fast" or milliseconds.
The optional callback argument is the name of the function executed after the slide is complete.
The following example demonstrates the slideDown () method:
Example
$("# flip") .click (function () {
("# panel") .slideDown ()
});
The above is all the content of the article "what is the use of the slideDown () method in jQuery?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!