JQuery sliding method slideDown slides down elements

  • 2020-03-30 01:24:46
  • OfStack

JQuery slide method

With jQuery, you can create sliding effects on elements.

JQuery has the following sliding methods:

SlideDown () slideDown element
SlideUp () slides the element up
SlideToggle () toggles between the slideDown() and slideUp() methods.

JQuery slideDown () method

The jQuery slideDown() method is used to slideDown elements.

$(the 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 parameter is the name of the function to be executed after the slide completes.

Related articles: