【文件属性】:
文件名称:ember-modifier:编写Ember修饰符的库
文件大小:248KB
文件格式:ZIP
更新时间:2021-05-14 16:53:27
TypeScript
余烬修饰符
该插件提供了一个在Ember中创作的API。 它反映了Ember的API,并具有编写简单的功能修饰符和编写更复杂的类修饰符的变体。
此插件是和的下一个迭代。 对API进行了一些重大更改。 有关差异的列表,请参见部分。
非常感谢@sukima和@ spencer516的贡献! 该项目基于他们的工作,没有他们是不可能的。
清理示例
类修饰符
生成类修饰符
没有清理的例子
清理示例
服务注入示例
原料药生命周期摘要
打字稿
TypeScript的示例
功能修饰符
基于类
补充阅读
API差异
API与ember-functional-modifiers的区别
API与基于ember-class-based-modifier的区别
API与ember-oo-modifiers的区别
贡献
执照
兼容性
Ember.js v3.12或更高版本
Ember CLI v2.13或更高版
【文件预览】:
ember-modifier-master
----.ember-cli(280B)
----type-tests()
--------tsconfig-3.6.json(44B)
--------tsconfig-next.json(259B)
--------tsconfig-3.7.json(44B)
--------modifier-test.ts(1KB)
--------tsconfig-downlevel.json(271B)
----ember-cli-build.js(497B)
----blueprints()
--------test-framework-detector.js(586B)
--------modifier-test()
--------modifier()
----addon()
---------private()
--------index.ts(177B)
----config()
--------ember-try-typescript.js(617B)
--------ember-try.js(2KB)
--------environment.js(90B)
----index.js(72B)
----.watchmanconfig(37B)
----package.json(4KB)
----.github()
--------workflows()
----tests()
--------test-helper.js(234B)
--------index.html(1KB)
--------unit()
--------dummy()
--------integration()
--------helpers()
----RELEASE.md(2KB)
----testem.js(589B)
----CONTRIBUTING.md(635B)
----.npmignore(411B)
----.eslintrc.js(2KB)
----.template-lintrc.js(58B)
----tsconfig.json(1KB)
----LICENSE.md(1KB)
----.gitignore(394B)
----CHANGELOG.md(5KB)
----types()
--------dummy()
--------@ember()
----README.md(31KB)
----yarn.lock(531KB)
----.eslintignore(247B)
----.editorconfig(367B)
----.vscode()
--------settings.json(54B)