2
0
mirror of https://github.com/PitPik/colorPicker.git synced 2025-06-28 21:51:02 -06:00

28 lines
687 B
Markdown
Raw Normal View History

2014-09-07 18:05:54 +02:00
# jQuery implementation
Some description follows soon...
##Demo
See **demo** at [dematte.at/cpn/jQuery_implementation](http://dematte.at/cpn/jQuery_implementation)
##Usage
```javascript
$('input.color').colorPicker();
// description of option will follow
$('input.color').colorPicker({
klass: window.ColorPicker,
input: elm,
patch: elm,
animationSpeed: 200,
draggable: true,
2014-09-07 18:28:07 +02:00
multipleInstances: false
2014-09-07 18:05:54 +02:00
margin: {left: -1, top: 2},
initStyle: 'display: none',
mode: 'hsv-h',
size: 1,
renderCallback: renderCallback
2014-09-07 18:07:49 +02:00
// and all other options from color and colorPicker
2014-09-07 18:05:54 +02:00
});
```