没有合适的资源?快使用搜索试试~ 我知道了~
ember-cli-star-rating:一个Ember CLI插件,用于使用星标管理等级
共57个文件
js:20个
gitkeep:11个
md:6个
需积分: 11 0 下载量 9 浏览量
2021-05-12
21:11:44
上传
评论
收藏 243KB ZIP 举报
温馨提示
灰烬星级 一个Ember CLI插件,用于在辉煌的Ember应用程序中使用星标来管理等级。 兼容性 Ember.js v2.18或更高版本 Ember CLI v2.13或更高版本 安装 由于这是Ember插件,因此您只需执行以下操作: ember install ember-cli-star-rating 重新加载您的应用程序,您就可以开始尝试星星了! 用法 该插件可在您使用的Ember应用程序中访问star-rating组件。 您应该将设置评级的项目,评级属性本身以及用户单击星号之一时应触发的操作传递给它。 {{ star-rating item = song rating = song.rating on-click = ( action " updateRating " ) }} (可选)您可以通过最高评分(要绘制的星数,默认为5): {{ star-rating it
资源推荐
资源详情
资源评论
收起资源包目录
ember-cli-star-rating-master.zip (57个子文件)
ember-cli-star-rating-master
ember-cli-build.js 612B
.github
dependabot.yml 829B
testem.js 581B
yarn.lock 594KB
.eslintrc.js 1KB
.npmignore 425B
.ember-cli 280B
CONTRIBUTING.md 639B
.travis.yml 1KB
config
deploy.js 849B
environment.js 90B
ember-try.js 2KB
addon-docs.js 290B
LICENSE.md 1KB
README.md 4KB
addon
styles
ember-cli-rating.css 36B
components
star-rating.js 873B
.gitkeep 0B
templates
components
star-rating.hbs 334B
.template-lintrc.js 62B
.editorconfig 368B
tests
integration
components
star-rating-test.js 5KB
index.html 1KB
test-helper.js 228B
helpers
.gitkeep 0B
dummy
public
robots.txt 51B
config
targets.js 305B
environment.js 1KB
optional-features.json 34B
app
index.html 795B
models
.gitkeep 0B
styles
app.css 121B
controllers
.gitkeep 0B
index.js 364B
resolver.js 65B
components
.gitkeep 0B
helpers
.gitkeep 0B
app.js 375B
templates
application.hbs 11B
index.hbs 258B
components
.gitkeep 0B
docs.hbs 244B
docs
usage.md 3KB
index.md 1KB
router.js 337B
routes
.gitkeep 0B
unit
.gitkeep 0B
.gitignore 362B
app
component-tests
star-rating.js 76B
components
star-rating.js 117B
.gitkeep 0B
index.js 71B
.watchmanconfig 37B
CHANGELOG.md 124B
.eslintignore 240B
package.json 2KB
vendor
.gitkeep 0B
共 57 条
- 1
资源评论
量子学园
- 粉丝: 22
- 资源: 4734
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功