原生js编写的安全色拾色器,支持浏览器边缘碰撞翻转

web216安全色拾色器 支持浏览器边缘碰撞翻转(原生js)API ColorPicker (node,Option)

属性:node : html node //必须Option : {'prefix':string,ongetcolorstring:fn,ongetvalue:fn,onrendered:fn} //可选 prefix: 控件id前缀,无prefix属性控件自动添加id为colorPicker ongetcolorstring : 在生成全部色值对应的16进制数字的数组后调用 ongetvalue : 在点击色块获得色之后调用,回调函数内的this指

+