@minui/wxc-rate

1.0.2 • Public • Published

wxc-rate

评分 - 小程序组件

Install

$ min install @minui/wxc-rate

API

Rate

名称 描述
value [说明]:评分值。
[类型]:Number
[默认值]:0
count [说明]:星星个数。
[类型]:Number
[默认值]:5
size [说明]:图标大小。
[类型]:Number
[默认值]:44
color [说明]:初始颜色值。
[类型]:String
[默认值]:#e5e5e5
active-color [说明]:选中颜色值。
[类型]:String
[默认值]:#fdb757
padding [说明]:两颗星星间的距离。
[类型]:Number
[默认值]:20
readonly [说明]:是否只读。
[类型]:Boolean
[默认值]:false
bind:rate [说明]:评分点击事件,event.detail = {value: value}。

ChangeLog

v1.0.1(2018-6-5)

  • 补充文档,增加 rate 点击事件说明

v1.0.0(2018-4-23)

  • 初始版本

Readme

Keywords

none

Package Sidebar

Install

npm i @minui/wxc-rate

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

4.13 kB

Total Files

4

Last publish

Collaborators

  • badeng
  • nilennoct
  • osmn00
  • cds803