🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

uni-app-my-components

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uni-app-my-components

评分

1.1.0
latest
npm
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

rate

评分

属性说明

属性名类型默认值说明
valueNumber3星星值,支持.sync修饰符
maxNumber5最大星星数量
disabledBooleanfalse是否禁用
animationBooleantrue开启手指滑动时星星的的动画效果
defaultColorString'#ccc'默认星星颜色,同css的color
activeColorString'#FFB700'滑选后星星颜色,同css的color
fontSizeString'inherit'星星大小,同css的fontSize
marginString''星星间距, 可以是 1em, 10px等(注意,不支持upx)
containerClassString''容器的自定义类名
rateClassString''星星的自定义类名
------------
@changeEventHandle星星值变化时回调,event=value

Tips

使用的是阿里的iconfont,不是uni-icon

平台差异

测试支持H5,微信小程序;

理论支持其他平台,未测试nvue,

更新记录

1.1.0

优化滑动处理

新增属性container-class rate-class

可以自定样式了

1.0.0

初始版本

FAQs

Package last updated on 13 Dec 2019

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