JqueryUI: Effects – Hide

Syntax

.hide( effect [, options ] [, duration ] [, complete ] )
ParameterTypeDescription
effectStringA string indicating which effect to use for the transition.
optionsObjectAdditionally, each effect has its own set of options that can be specified common across multiple effects described in the table jQueryUI Effects.
durationNumber or StringOptionally provides one of slow, normal, fast, or the duration of the effect in milliseconds. If omitted, the animate() method determines the default. Its default value is 400.
completeFuction()This is a callback method called for each element when the effect is complete for this element.

OR

.hide( options )
ParameterTypeDescription
optionsObjectAll 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.

Leave a Reply

Your email address will not be published. Required fields are marked *