bootstrap-colorpickersliders
bootstrap-colorpickersliders copied to clipboard
Add option to update only on release
+1
+1 like:
.slider({ stop: function( event, ui ) {} });
for now you can do something like this out side of the color picker call:
$('.cp-container').click(function(){
var rgba = $('input#colorPicker').text();
$('#myelement').css({
backgroundColor: rgba
});
});
It should not be instead of text () method val (). Off topic question (I do not know where to insert questions): how can I change the color of the ColorPicker programmatically?