Useful properties of the jQuery object
The jQuery object contains a couple of properties that we can set which can be useful when creating animations. The jQuery
(or $
) object contains an fx
property, which itself contains two properties related to animations which we can manipulate.
This fx
object is not to be confused with the fx
queues that are created by default for any element that has more than one animation method called on it in a chain. These individual fx
queues do not contain the same properties that the jQuery fx
property contains.
Globally disabling animations
One property of fx
that we can set is the off
property. This property contains a Boolean that is set to false
by default, but which we can set to true
to globally disable all animations ...
Get jQuery 1.4 Animation Techniques Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.