Purty-Picker
Purty-Picker copied to clipboard
A super lightweight visual HSL, RGB and hex color picker with a responsive, touch-friendly and customizable UI. Compatible with jQuery or Zepto.
"$spectrum.height()" in line 128 in color-picker.js has to be replaced with: "$spectrum.outerHeight()" in order to work with jQuery 3.x because it doesn't count padding to the height.
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:...
I'm doing something like this on change: ``` picker.on('change', function() { hiddenInput.val('#' + colorInput.val()); var timer = null; clearTimeout(); setTimeout(function(){ console.log('Changed'); }, 400); }); ``` If, say I change the...