1.0.0 • Published 4 years ago

mypickertest001 v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

vue-color-picker

a component named 'vue-color-picker''

简述

一些项目中可能需要选择一些自定义的色值,但是目前又没有找到基于vue的组件,然后就自己折腾了一个,写的不精,不过可用,还可根据自己的项目去自定义修改,

注:算法来自网络(忘了是拉个银写的了,sorry)


openPicker(){}

closePicker(){}

onChange(val){
	//这里的val就是你要的色值了
}

觉得对你有用的请右上角点个star,谢谢谢谢谢谢

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

1.0.0

4 years ago