mirror of
https://github.com/PitPik/colorPicker.git
synced 2025-09-07 08:12:36 -06:00
jQuery impl. initial description
This commit is contained in:
parent
1ec1685529
commit
6c3fe8ccdd
27
jQuery_implementation/README.md
Normal file
27
jQuery_implementation/README.md
Normal file
@ -0,0 +1,27 @@
|
||||
|
||||
# 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,
|
||||
margin: {left: -1, top: 2},
|
||||
initStyle: 'display: none',
|
||||
mode: 'hsv-h',
|
||||
size: 1,
|
||||
renderCallback: renderCallback
|
||||
});
|
||||
});
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user