Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the use of the slideDown () method in jQuery

Shulou Source: shulou.com Published: 2022-06-01 03:23:45 09月22日 Update

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!

Tags: Methods articles content parameters not so much examples elements functions names most examples effects duration more knowledge industry grammar information information channels faceted Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Technology Xiaomi macOS MariaDB