没有合适的资源?快使用搜索试试~ 我知道了~
ember-class-names-helper:在Ember模板中有条件地联接类名的更简洁方法
共49个文件
js:17个
gitkeep:11个
md:3个
需积分: 5 0 下载量 145 浏览量
2021-04-30
11:21:20
上传
评论
收藏 211KB ZIP 举报
温馨提示
{{class-names}}助手 提供了一种更干净的方法,用于在模板中有条件地连接类名。 前: < button class = " button {{ if @ primary " button--primary " }} {{ if @ small " button--small " }} {{ if @ disabled " is-disabled " }} " type = " button " > Submit </ button > 后: < button class = {{ class-names " button " button--primary = @ primary button--small = @ small is-disabled = @ disabled }} type = " button " >
资源推荐
资源详情
资源评论
收起资源包目录
ember-class-names-helper-master.zip (49个子文件)
ember-class-names-helper-master
ember-cli-build.js 497B
.github
workflows
ci.yml 2KB
testem.js 589B
yarn.lock 501KB
.eslintrc.js 1KB
.prettierignore 253B
.npmignore 481B
.ember-cli 280B
CONTRIBUTING.md 645B
config
environment.js 90B
ember-try.js 2KB
.prettierrc 595B
LICENSE.md 1KB
README.md 2KB
addon
helpers
class-names.js 2KB
.gitkeep 0B
.template-lintrc.js 58B
.editorconfig 367B
tests
integration
helpers
class-names-test.js 1KB
.gitkeep 0B
index.html 1KB
test-helper.js 323B
helpers
.gitkeep 0B
dummy
public
robots.txt 51B
config
targets.js 314B
ember-cli-update.json 416B
environment.js 1KB
optional-features.json 154B
app
index.html 696B
models
.gitkeep 0B
styles
app.css 0B
controllers
.gitkeep 0B
components
.gitkeep 0B
helpers
.gitkeep 0B
app.js 388B
templates
application.hbs 76B
router.js 240B
routes
.gitkeep 0B
unit
.gitkeep 0B
.gitignore 383B
.prettierrc.js 58B
app
helpers
class-names.js 72B
cn.js 72B
.gitkeep 0B
index.js 72B
.watchmanconfig 37B
.eslintignore 253B
package.json 3KB
vendor
.gitkeep 0B
共 49 条
- 1
资源评论
信徒阿布
- 粉丝: 39
- 资源: 4576
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功