jQuery.speed
The jQuery.speed
method in jQuery creates an object containing a set of properties ready to be used in the definition of custom animations.
jQuery.speed
SyntaxjQuery.speed( [duration ] [, settings ] )
Parameter | Type | Description |
---|---|---|
duration |
Number,String | animation running time,Default 400ms |
settings-easing |
String | the easing function to use for the transition.Default swing |
settings-complete |
Function | A function to call once the animation is complete. |