Easy Tutorial
❮ Misc Deferred Resolvewith Ajax Getscript ❯

jQuery jQuery.fx.off Property

jQuery Properties

Example

Toggle animation switch:


Definition and Usage

The jQuery.fx.off property is used to globally disable or enable all animations.

The default value is false, which allows animations to run normally. When set to true, all animation methods will be disabled, causing elements to be set to their final state instead of displaying the animation effects.

Tip: For simplified code, you can use $.fx.off instead of jQuery.fx.off.


Syntax

Parameter Description
true Specifies that animations should be disabled.
false Default. Specifies that animations should be enabled.

jQuery Properties

❮ Misc Deferred Resolvewith Ajax Getscript ❯