Extjs $previous、$owner和$name是什么?
这是ExtJS中的callParent方法。$previous、$owner和$name是什么?为什么前面有一个“$”符号? callParent:函数(args){ var方法Extjs $previous、$owner和$name是什么?,extjs,Extjs,这是ExtJS中的callParent方法。$previous、$owner和$name是什么?为什么前面有一个“$”符号? callParent:函数(args){ var方法 // This code is intentionally inlined for the least number of debugger stepping return (method = this.callParent.caller) && (met
// This code is intentionally inlined for the least number of debugger stepping
return (method = this.callParent.caller) && (method.$previous ||
((method = method.$owner ? method : method.caller) &&
method.$owner.superclass.$class[method.$name])).apply(this, args || noArgs);
}
它是类系统设置的内部细节,以便跟踪方法。$s存在,因此它不太可能与类上您自己的属性名冲突