jQuery中的fn代表什么? [英] What does fn in jQuery stand for?
本文介绍了jQuery中的fn代表什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道jQuery.fn只是jQuery.prototype的别名,但是"fn"代表什么?它有全名吗?
I know jQuery.fn is just an alias of jQuery.prototype, but what does "fn" stand for? Does it have a full name?
例如正式名称"? 正式名称空间"?我不知道.
For example, "formal name"? "formal namespace"? I've no idea.
推荐答案
fn
,如 f unctio n 中所示.
fn
as in f unctio n.
在需要函数的地方,它也是形式参数的名称:
It is also the name of the formal parameter wherever a function is expected:
// Bind a function to a context, optionally partially applying any
// arguments.
proxy: function( fn, context ) {
这篇关于jQuery中的fn代表什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文