没有合适的资源?快使用搜索试试~ 我知道了~
ember-simple-track-helper:在 Ember 模板中制作小块跟踪状态的小助手
共58个文件
js:13个
gitkeep:11个
ts:10个
需积分: 5 0 下载量 172 浏览量
2021-08-03
21:51:37
上传
评论
收藏 240KB ZIP 举报
温馨提示
余烬简单跟踪助手 在模板中制作小块跟踪状态的小助手。 对于拥有支持类的唯一原因是托管一些单个跟踪状态的场景很有用 - 例如,是否显示或隐藏模式,默认状态为false : {{ #let ( track false ) as | toggle | }} {{ #unless toggle.value }} < button {{ on " click " ( fn toggle.update true ) }} >Show it!</ button > {{ /unless }} < MyModal xss=removed xss=removed> {{ /let }} (对于 Ember 以外的人:就像useState一样,但通过自动跟踪。
资源推荐
资源详情
资源评论
收起资源包目录
ember-simple-track-helper-main.zip (58个子文件)
ember-simple-track-helper-main
ember-cli-build.js 565B
.github
dependabot.yml 102B
workflows
CI.yml 2KB
Nightly TypeScript Run.yml 405B
testem.js 589B
yarn.lock 567KB
.eslintrc.js 1KB
.prettierignore 253B
.npmignore 458B
helpers
track.d.ts 266B
types
dummy
index.d.ts 1B
global.d.ts 209B
.ember-cli 280B
CONTRIBUTING.md 625B
.travis.yml 1KB
tsconfig.json 1KB
config
environment.js 90B
ember-try.js 2KB
ember-try-typescript.js 467B
LICENSE.md 1KB
README.md 2KB
addon
helpers
track.ts 491B
.gitkeep 0B
.template-lintrc.js 58B
.editorconfig 367B
tests
test-helper.ts 323B
integration
helpers
track-test.ts 1KB
.gitkeep 0B
index.html 1KB
helpers
.gitkeep 0B
dummy
public
robots.txt 51B
config
targets.js 314B
ember-cli-update.json 392B
environment.js 1KB
optional-features.json 154B
app
app.ts 388B
index.html 684B
models
.gitkeep 0B
styles
app.css 0B
controllers
.gitkeep 0B
components
.gitkeep 0B
helpers
plus.ts 166B
minus.ts 176B
.gitkeep 0B
config
environment.d.ts 286B
templates
application.hbs 72B
router.js 240B
routes
.gitkeep 0B
unit
.gitkeep 0B
.gitignore 383B
.prettierrc.js 58B
app
helpers
track.js 67B
.gitkeep 0B
index.js 72B
.watchmanconfig 37B
.eslintignore 253B
package.json 3KB
vendor
.gitkeep 0B
共 58 条
- 1
资源评论
FeMnO
- 粉丝: 20
- 资源: 4609
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功