【文件属性】:
文件名称:ember-select-list:余烬的选择下拉组件
文件大小:30KB
文件格式:ZIP
更新时间:2021-05-03 06:41:27
JavaScript
余烬选择列表
ember-select-list是一个基本的<select>组件,它力求替换旧的{{view 'select'}} view'select {{view 'select'}}同时尽可能地遵循现代的ember范例“ data-down-actions-up”。
演示版
安装
ember安装ember-select-list
使用插件
可以通过以下方式直接替换旧的选择视图。
以下车把标记
{{ view " select "
content = programmers
optionValuePath = " content.id "
optionLabelPath = " content.firstName "
value = selectedProgrammerId }}
可以替换为
{{ select-list
【文件预览】:
ember-select-list-master
----ember-cli-build.js(516B)
----testem.js(390B)
----.eslintrc.js(188B)
----.npmignore(195B)
----.ember-cli(280B)
----.travis.yml(1KB)
----config()
--------environment.js(112B)
--------ember-try.js(1KB)
----LICENSE(1KB)
----LICENSE.md(1KB)
----README.md(2KB)
----addon()
--------components()
--------.gitkeep(0B)
----.editorconfig(368B)
----tests()
--------integration()
--------index.html(1KB)
--------test-helper.js(162B)
--------.eslintrc.js(55B)
--------helpers()
--------dummy()
--------unit()
----.gitignore(346B)
----app()
--------components()
--------helpers()
--------.gitkeep(0B)
--------templates()
----index.js(87B)
----.watchmanconfig(37B)
----CHANGELOG.md(1001B)
----package.json(1KB)
----vendor()
--------.gitkeep(0B)