ember-cli-document-title:将文件标题行为添加到您的ember应用程序

时间:2021-02-04 23:29:16
【文件属性】:
文件名称:ember-cli-document-title:将文件标题行为添加到您的ember应用程序
文件大小:151KB
文件格式:ZIP
更新时间:2021-02-04 23:29:16
javascript ember ember-addon EmberJavaScript Sane文件标题 此插件将健全的document.title集成添加到您的余烬应用程序。 最初基于,并且由于许多出色的贡献者而得到了改进。 经测试可与Ember 1.13.13及更高版本一起使用。 安装 通过运行安装 ember install ember-cli-document-title 那么,这是如何工作的呢? 这将为您的路线添加两个新的键: titleToken title 它们可以是字符串或函数。 每次转换到路线时,都会发生以下情况: Ember将从您titleToken的路由中收集titleToken ,并对其进行冒泡,直到其到达已定义title的路由为止。 默
【文件预览】:
ember-cli-document-title-master
----.gitignore(355B)
----.codeclimate.yml(296B)
----package.json(2KB)
----LICENSE.md(1KB)
----.watchmanconfig(37B)
----index.js(311B)
----CHANGELOG.md(3KB)
----testem.js(581B)
----.github()
--------workflows()
----.eslintrc.js(1KB)
----README.md(6KB)
----vendor()
--------document-title()
----tests()
--------acceptance()
--------dummy()
--------unit()
--------helpers()
--------index.html(1KB)
--------test-helper.js(228B)
----config()
--------ember-try.js(2KB)
--------environment.js(90B)
----.eslintignore(240B)
----.ember-cli(280B)
----ember-cli-build.js(494B)
----.npmignore(380B)
----fastboot-tests()
--------index-test.js(833B)
--------fixtures()
----.editorconfig(368B)
----yarn.lock(317KB)
----.template-lintrc.js(62B)

网友评论