ember required properties:通过简单的mixin在组件或其他对象上强制执行必需的属性 源码
所需的属性 产品特点 此插件启用以下模式: // some-component export default Component . extend ( RequiredProperties , { requiredProperties : [ 'thing' , 'another' , 'on-select-thing' ] } ) ; {{ some-component }} ERROR: You must provide ` thing ` , ` another ` , and ` on-select-thing ` to {{some-component}}. 像emb
文件列表
ember-required-properties-master.zip
(预估有个58文件)
ember-required-properties-master
.gitignore
248B
.codeclimate.yml
280B
app
.gitkeep
0B
utils
assert-required-properties.js
86B
array-to-sentence.js
77B
package.json
2KB
LICENSE.md
1KB
暂无评论