ember-truth-helpers:{{if}}和{{unless}}的Ember HTMLBars帮助器

时间:2024-05-02 02:33:07
【文件属性】:

文件名称:ember-truth-helpers:{{if}}和{{unless}}的Ember HTMLBars帮助器

文件大小:205KB

文件格式:ZIP

更新时间:2024-05-02 02:33:07

JavaScript

灰烬真相助手 HTMLBars模板助手额外的真理逻辑if和unless语句。 兼容性 Ember.js v3.16或更高版本 Ember CLI v2.13或更高版本 Node.js v10或更高版本 安装 ember install ember-truth-helpers 用法 帮手 JavaScript HTML栏 允许可变的参数计数 当量 if (a === b) {{if (eq ab)}} 不 不等式 if (a !== b) {{if (not-eq ab)}} 不 不是 if (!a) {{if (not a)}} 是的 和 if (a && b) * {{if (and ab)}} 是的 或者 if (a || b) * {{if (or ab)}} 是的 异或 if (a && !b || !a && b) * {{if (xor ab)}}


【文件预览】:
ember-truth-helpers-master
----ember-cli-build.js(872B)
----testem.js(601B)
----yarn.lock(445KB)
----RELEASE.md(2KB)
----.eslintrc.js(976B)
----.npmignore(411B)
----.ember-cli(280B)
----CONTRIBUTING.md(679B)
----.travis.yml(2KB)
----config()
--------environment.js(90B)
--------ember-try.js(2KB)
----LICENSE.md(1KB)
----README.md(4KB)
----addon()
--------utils()
--------helpers()
--------.gitkeep(0B)
----.template-lintrc.js(57B)
----.editorconfig(367B)
----tests()
--------index.html(1KB)
--------test-helper.js(234B)
--------helpers()
--------dummy()
--------unit()
----.gitignore(369B)
----app()
--------helpers()
--------.gitkeep(0B)
----index.js(71B)
----.watchmanconfig(37B)
----CHANGELOG.md(2KB)
----.eslintignore(236B)
----package.json(2KB)
----vendor()
--------.gitkeep(0B)

网友评论