
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
用于快速的评级操作,或对评价进行展示。
<quark-rate
v-model="val"
>
</quark-rate>
只读
<quark-rate
v-model="val"
:readOnly="true"
>
</quark-rate>
绑定事件
<quark-rate
@click="onClick"
>
</quark-rate>
自定义尺寸
<quark-rate
:size="35"
>
</quark-rate>
自定义ICON
<quark-rate
:checkedIcon="icon1"
:uncheckedIcon="icon2"
></quark-rate>
| 字段 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| total | star 总数 | Number | 5 |
| value | 当前 star 数,可使用 v-model 双向绑定数据 | Number | 3 |
| size | star 大小 | Number | 25 |
| spacing | 两个star的间距 | Number | 20 |
| readOnly | 是否只读 | Boolean | false |
| uncheckedIcon | 使用图标(未选中) | String | - |
| checkedIcon | 使用图标(选中) | String | - |
| 字段 | 说明 | 回调参数 |
|---|---|---|
| click | 点击star时触发 | star的index |
FAQs
一种基于vue技术的评分组件
The npm package quark-rate receives a total of 8 weekly downloads. As such, quark-rate popularity was classified as not popular.
We found that quark-rate 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.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.