基于vue的颜色选择器组件

注:本项目早已不维护,谨慎使用,可clone后自行修改 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、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。
2、网站不提供资料下载,如需下载请到原作者页面进行下载。