New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

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

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

Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
10
66.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

Related posts