colorsel

0.4.0 • Public • Published

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 展示与隐藏

事件

name Description
getColor 获取选中的颜色

Readme

Keywords

none

Package Sidebar

Install

npm i colorsel

Weekly Downloads

1

Version

0.4.0

License

none

Unpacked Size

1.09 MB

Total Files

81

Last publish

Collaborators

  • anyao