I have seen $.fx.step. backgroundPosition = function(fx) {...}
in some javascript snippet. I can\'t find much infomation about $.fx
.
Can an
You can see more details about $.fx HERE
A new jQuery plugin that supports animating CSS colors of elements by using the new jQuery.fx.step.
Here is stated, that fx
object is declared as follows:
fx: function( elem, options, prop ) {
this.options = options;
this.elem = elem;
this.prop = prop;
if ( !options.orig ) {
options.orig = {};
}
}
read more that link.
In short: fx
is the basis of all jQuery effects like .animate
, .hide
, etc.
Code like the one you posted is meant to extend jQuery.fx
.