You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
801 B
Markdown

# 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,
init: function(elm, colors){}, // initialization callback (before colorPicker gets initialized though)
animationSpeed: 200,
draggable: true,
10 years ago
multipleInstances: false
margin: {left: -1, top: 2},
initStyle: 'display: none',
mode: 'hsv-h',
size: 1,
renderCallback: renderCallback
10 years ago
// and all other options from color and colorPicker
});
```