🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@beysong/wxc-rate

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beysong/wxc-rate

评价 - 小程序组件

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

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)

  • 初始版本

FAQs

Package last updated on 21 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts