New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ice-star

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ice-star

ice-star

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

ice-star

vue评分组件

使用方式

1.安装

npm i ice-star

2.main.js中全局注册组件

import IceStar from 'ice-star';
Vue.use(IceStar);

3.使用组件

<ice-star
      :max="5"
      v-model="value"
      default-color="gray"
      select-color="#FFD566"
    ></ice-star>

API

1.max:总分数,默认:5

2.v-model:当前分数,默认:0

3.default-color:未选中颜色,默认值:gray

4.select-color:选中颜色,默认值:#FFD566

Keywords

ice-star

FAQs

Package last updated on 15 May 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