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

five-start-pralse

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

five-start-pralse

``` npm install ```

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

安装

npm install 

使用

  • 在 需要使用的文件中引入
// 引入组件
import JscyUI from "five-start-pralse"

// 引入样式文件
import  "five-start-pralse/style/fiveStart.css"

// 挂载
Vue.use(JscyUI)

  • 页面中使用
    <Starts
      :startQuantity="5"
      :num="0"
      :size="14"
      @getStartNum="getStartNum"
    />

属性说明

PropertyDeacriptiontypedefault
startQuantity总星数Number5
num默认选中的星星数Number0
size星星的大小Number14
startColor选中时星星的颜色String'#FCC33F'
@getStartNum点击星星触发的事件function默认参数为当前选中星星数

Keywords

vue五星好评

FAQs

Package last updated on 29 Nov 2021

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