javascript/jQuery - What is jQuery.fx?

后端 未结 3 1720
攒了一身酷
攒了一身酷 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条回答
  •  星月不相逢
    2021-01-03 14:30

    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.

提交回复
热议问题