【文件属性】:
文件名称:余烬延迟的内容
文件大小:90KB
文件格式:ZIP
更新时间:2021-03-01 16:58:48
JavaScript
余烬延迟的内容
花式裤子处理异步内容
ember install ember-deferred-content
用法
{{! This assumes that post has an async relationship called comments}}
{{ #deferred-content post.comments as | d | }}
{{ #d.settled }}
< h2>Comments h2>
{{ /d.settled }}
{{ #d.pending }}
< img xss=removed>
{{ /d.pending }}
{{ #d.fulfilled as | comments | }}
< ul>
{{ #each c
【文件预览】:
ember-deferred-content-master
----.jshintrc(518B)
----.gitignore(346B)
----app()
--------components()
--------.gitkeep(0B)
----package.json(2KB)
----LICENSE.md(1KB)
----.bowerrc(60B)
----.watchmanconfig(37B)
----.travis.yml(1KB)
----index.js(70B)
----addon()
--------components()
--------templates()
--------.gitkeep(0B)
----testem.js(506B)
----.eslintrc.js(911B)
----README.md(3KB)
----vendor()
--------.gitkeep(0B)
----tests()
--------.jshintrc(831B)
--------dummy()
--------integration()
--------helpers()
--------.eslintrc.js(55B)
--------index.html(1KB)
--------test-helper.js(228B)
----config()
--------ember-try.js(1KB)
--------environment.js(90B)
----bors.toml(55B)
----.ember-cli(280B)
----ember-cli-build.js(494B)
----.npmignore(277B)
----.editorconfig(368B)
----yarn.lock(227KB)