|
|
@ -29,7 +29,7 @@ Colors({ // all options have a default value...
|
|
|
|
colorPicker uses an instance of Colors and passes the options to it, so some values are the same...
|
|
|
|
colorPicker uses an instance of Colors and passes the options to it, so some values are the same...
|
|
|
|
|
|
|
|
|
|
|
|
```javascript
|
|
|
|
```javascript
|
|
|
|
var myColorPicker = new ColorPicker({
|
|
|
|
ColorPicker({
|
|
|
|
color: ..., // see Colors...
|
|
|
|
color: ..., // see Colors...
|
|
|
|
customBG: '#FFF' // see Colors...
|
|
|
|
customBG: '#FFF' // see Colors...
|
|
|
|
animationSpeed: 150, // toggle animation speed
|
|
|
|
animationSpeed: 150, // toggle animation speed
|
|
|
|