Skip to content
colorPicker - 颜色选择器
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
example
src
.gitignore
bower.json
gulpfile.js
package.json
readme.md

readme.md

颜色选择器 colorPicker v1.2

简介

支持导出为jQuery插件,CMD模块,AMD模块,全局变量

使用

引入

<link rel="stylesheet" href="../dist/css/colorPicker.css">
<script src="../dist/js/colorPicker.js"></script>

添加input

<input type="text" name="user_color" id="user_color" placeholder="点击选择颜色">

初始化

var colorPicker = new ColorPicker({
    textInput_id: "user_color"
});
You can’t perform that action at this time.