我在 https://github.com/lukemelia/jquery-ui-ember 上看到示例代码.谁能告诉我什么是 this.$()
你可以在 jquery-ui-ember-master\jquery-ui-ember-master\js\app.js 上看到这个
最佳答案
this.$()
is a call of the$
-method of your current objectscope.
this
引用您当前的对象。
$
是this
的函数。
()
将调用 this
的函数 $
。
关于javascript - Ember 或 JQuery 中的 this.$() 是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25500595/