ember-auto-focus:Ember应用程序的自动对焦解决方案

时间:2021-02-04 22:02:29
【文件属性】:
文件名称:ember-auto-focus:Ember应用程序的自动对焦解决方案
文件大小:231KB
文件格式:ZIP
更新时间:2021-02-04 22:02:29
ember autofocus-element EmberJavaScript @ zestia / ember-auto-focus HTML的autofocus属性将元素集中在该属性的首次出现上。 但是,对相同元素的后续渲染不执行任何操作。 此插件提供了一个元素修饰符,当元素插入DOM时,该修饰符会自动使元素聚焦。 安装 ember install @zestia/ember-auto-focus 演示版 例 {{ #if this.showField }} < input {{ auto-focus }} > {{ /if }} 另外,您可以传入选择器: < div> < div cla
【文件预览】:
ember-auto-focus-master
----.prettierignore(82B)
----.gitignore(346B)
----README.md(2KB)
----CHANGELOG.md(1KB)
----ember-cli-build.js(491B)
----.ember-cli(280B)
----tests()
--------integration()
--------test-helper.js(323B)
--------dummy()
--------unit()
--------index.html(1KB)
----testem.js(585B)
----.stylelintignore(82B)
----.stylelintrc.js(60B)
----app()
--------.gitkeep(0B)
--------modifiers()
----package.json(3KB)
----CONTRIBUTING.md(656B)
----vendor()
--------.gitkeep(0B)
----index.js(109B)
----config()
--------ember-try.js(2KB)
--------environment.js(90B)
----LICENSE.md(1KB)
----addon()
--------utils()
--------.gitkeep(0B)
--------modifiers()
----.watchmanconfig(37B)
----.eslintignore(221B)
----.release-it.js(69B)
----.template-lintrc.js(105B)
----.npmignore(411B)
----.travis.yml(1KB)
----.editorconfig(367B)
----.eslintrc.js(84B)
----.prettierrc.js(76B)
----package-lock.json(846KB)

网友评论