javascript - Ember 或 JQuery 中的 this.$() 是什么

标签 javascript jquery jquery-ui ember.js

我在 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/

相关文章:

javascript - 如何仅使用 javascript 设置通过 p5.js 中的 createButton 函数创建的 slider 的样式?

javascript - CKEditor 'Source' 按钮监听器

javascript - 搜索功能在 IE 中不起作用

javascript - JQuery Accordion TypeError : this. 幻灯片未定义

jQuery div 展开/折叠

javascript - 将组合框值传递给同一页面的文本区域

javascript - 图像 slider 可在不同按钮单击上打开不同文件夹中的图像

javascript - jquery ajax 总是导致 'error' 即使它工作

javascript - JavaScript 中的字符串比较失败

javascript - jquery droppable 基于条件