🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

colorsel

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

colorsel

一个简单的省区市滑动选择插件

latest
Source
npmnpm
Version
0.4.0
Version published
Weekly downloads
13
116.67%
Maintainers
1
Weekly downloads
 
Created
Source

ay-color

一个简单的省区市滑动选择插件

安装

yarn add ay-color
or
npm i ay-color --S

使用

//ES6引入
import colorsel from 'ay-color' 
Vue.use(colorsel);
//require引入
var colorsel = require('colorsel_ay')
Vue.use(colorsel)

//组件中使用
```html
        <ay-color :colorArr=colorArr :show=show @getColor=getc></ay-color>

Props说明

参数作用类型默认值
colorArr定义的颜色数组
show展示与隐藏

事件

nameDescription
getColor获取选中的颜色

FAQs

Package last updated on 17 Aug 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