ember-radio-button:具有漂亮语法的单选按钮组件

时间:2021-03-01 15:59:16
【文件属性】:
文件名称:ember-radio-button:具有漂亮语法的单选按钮组件
文件大小:39KB
文件格式:ZIP
更新时间:2021-03-01 15:59:16
JavaScript 余烬单选按钮 该插件提供了一个radio-button组件。 当value属性与groupValue属性匹配时, radio-button将处于选中状态。 每个单选按钮的value应当唯一,而应该为组中的每个radio-button提供相同的groupValue 。 单击radio-button会将groupValue设置为其value 。 用法 块形式 块形式发出包装输入元素和传递到该块的所有元素的标签。 模板: { { # radio - button value = "blue" groupValue = color changed = ( action "colorChanged" ) } } < span> Blue < / span > { { /radio-button } } /* results in */ < label id
【文件预览】:
ember-radio-button-master
----.gitignore(346B)
----app()
--------components()
--------.gitkeep(0B)
----package.json(1KB)
----LICENSE.md(1KB)
----.watchmanconfig(37B)
----.travis.yml(1009B)
----index.js(88B)
----CHANGELOG.md(2KB)
----addon()
--------components()
--------templates()
--------.gitkeep(0B)
----testem.js(531B)
----.eslintrc.js(236B)
----README.md(4KB)
----vendor()
--------.gitkeep(0B)
----tests()
--------dummy()
--------integration()
--------unit()
--------helpers()
--------.eslintrc.js(55B)
--------index.html(1KB)
--------test-helper.js(162B)
----config()
--------ember-try.js(3KB)
--------environment.js(112B)
----.ember-cli(280B)
----ember-cli-build.js(516B)
----.npmignore(195B)
----.editorconfig(368B)

网友评论