没有合适的资源?快使用搜索试试~ 我知道了~
ember-invoke-action:在Ember组件中调用动作的一种更惯用的方式
共48个文件
js:22个
gitkeep:11个
md:2个
需积分: 5 0 下载量 21 浏览量
2021-05-16
10:21:36
上传
评论
收藏 22KB ZIP 举报
温馨提示
余烬援引行动 在Ember组件中调用动作的一种更惯用的方式。 安装 ember install ember-invoke-action 如何 您可以使用ember-invoke-action作为辅助函数,也可以使用mixin。 混合使用 import Ember from 'ember' ; import { InvokeActionMixin } from 'ember-invoke-action' ; export default Ember . Component . extend ( InvokeActionMixin , { click ( ... args ) { this . invokeAction ( 'click' , ... args ) ; } } ) ; 助手用法 import Ember from 'ember' ; import { i
资源推荐
资源详情
资源评论
收起资源包目录
ember-invoke-action-master.zip (48个子文件)
ember-invoke-action-master
.gitignore 346B
README.md 2KB
ember-cli-build.js 494B
.ember-cli 280B
tests
integration
ember-invoke-action-test.js 2KB
test-helper.js 228B
dummy
public
robots.txt 51B
app
components
test-component.js 192B
mixin-component.js 220B
.gitkeep 0B
action-component.js 372B
function-component.js 204B
faulty-component.js 186B
return-component.js 213B
strict-component.js 204B
routes
.gitkeep 0B
router.js 245B
app.js 375B
models
.gitkeep 0B
helpers
.gitkeep 0B
styles
app.css 0B
index.html 684B
templates
components
.gitkeep 0B
application.hbs 48B
resolver.js 65B
controllers
.gitkeep 0B
config
targets.js 305B
environment.js 1KB
unit
.gitkeep 0B
helpers
wait-for-error.js 313B
.gitkeep 0B
index.html 1KB
testem.js 506B
app
.gitkeep 0B
package.json 2KB
vendor
.gitkeep 0B
index.js 67B
config
ember-try.js 2KB
environment.js 90B
LICENSE.md 1KB
addon
.gitkeep 0B
index.js 2KB
.watchmanconfig 37B
.eslintignore 28B
.npmignore 277B
.travis.yml 1KB
.editorconfig 368B
.eslintrc.js 977B
共 48 条
- 1
资源评论
CodeWizardess
- 粉丝: 15
- 资源: 4691
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功