Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
ra-star-rating
Advanced tools
🌟 A simple star rating component for vue.js. Perhaps, each can have its own rating star component.
🌟 A simple star rating component for vue.js.
各种标签🌟 A simple star rating component for vue.js. Perhaps, each can have its own rating star component.
# yarn
yarn add ra-star-rating
# npm
npm install --save ra-star-rating
import raStarRating from 'ra-star-rating'
<ra-star-rating config></ra-star-rating>
Props | Description | Default |
---|---|---|
mode | 分数增量。目前只支持[1,0.5,0.01]。1表示每次点击为一颗星,0.5表示半颗星,0.01即随着鼠标移动 | 1 |
rating | 初始评分 | 0 |
order | 星星评分顺序。支持从左往右|从右往左['ltr', 'rtl'] | 'ltr' |
star-points | 星星数量。也表示最大评分 | 5 |
readOnly | 只读模式。 | false |
stroke | stroke stroke-width stroke-linecap stroke-dasharray 属性 | {} |
emptyColor | 星星非突出显示部分的颜色 | null |
fillColor | 星星突出显示部分的颜色 | false |
size | 星星的大小 | 50 |
zoom | 星星的缩放比例,建议为radio的两倍 | 4 |
ratio | 内圆和外圆的比例,决定星星的风格,建议为2 & 2.5 | 2 |
padding | 星星的padding,使得更加容易确定min分或者max | 5 |
FAQs
🌟 A simple star rating component for vue.js. Perhaps, each can have its own rating star component.
We found that ra-star-rating demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.