Syntax
.effect( effect [, options ] [, duration ] [, complete ] )
| Parameter | Type | Description |
|---|---|---|
| effect | String | A string indicating which effect to use for the transition. |
| options | Object | Additionally, each effect has its own set of options that can be specified common across multiple effects described in the table jQueryUI Effects. |
| duration | Number or String | This is of type Number or String and determines how long the animation will run. Its default value is 400. |
| complete | Fuction() | A function to call once the animation is complete called once per matched element. |
OR
.effect( options )
| Parameter | Type | Description |
|---|---|---|
| options | Object | All animation settings. The only required property is effect. Possible values are:effect − A string indicating which effect to use for the transition. easing − A string indicating which easing function to use for the transition. Its default value is swing. complete − This is a callback method called for each element when the effect is complete for this element. duration − A string or number determining how long the animation will run. Its default value is 400. queue − This is of type String/Boolean indicating whether to place the animation in the effects queue. |