From 6c3fe8ccdd1c9e2db137520ad665ca86e1b9cb6f Mon Sep 17 00:00:00 2001 From: peterd Date: Sun, 7 Sep 2014 18:05:54 +0200 Subject: [PATCH] jQuery impl. initial description --- jQuery_implementation/README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 jQuery_implementation/README.md diff --git a/jQuery_implementation/README.md b/jQuery_implementation/README.md new file mode 100644 index 0000000..383f0f4 --- /dev/null +++ b/jQuery_implementation/README.md @@ -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 + }); +}); +``` \ No newline at end of file