Purty-Picker
Purty-Picker copied to clipboard
dynamic ?
How can I add the picker dynamically ? I can do it via hidden tags but thats not very nice.
Would it also be possible use the options like this:
el.colorpicker({
format:'hsl',
input:'.mycolorinput',
color: '#eee',
etc
})
I know it would require some rewriting, but makes it more flexible.
you could change change into input the lightness will be updated when moving the range slider.
$lightnessInput.on('input', function() {
setLightness($(this).val());
updateColorInput();
});