javascript/jQuery - What is jQuery.fx?

后端 未结 3 1650
攒了一身酷
攒了一身酷 2021-01-03 13:48

I have seen $.fx.step. backgroundPosition = function(fx) {...} in some javascript snippet. I can\'t find much infomation about $.fx.

Can an

3条回答
  •  -上瘾入骨i
    2021-01-03 14:13

    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.

提交回复
热议问题