Edit this page

change

Fires when a color was selected, either by clicking on it (in the simple picker), by clicking ENTER or by pressing "Apply" in the HSV picker.

Event Data

e.value String

The value of the colorpicker.

Example - subscribe to the "change" event during initialization

<div id="colorpicker"></div>
<script>
$("#colorpicker").kendoColorPicker({
  change: function(e) {
    console.log("The picked color is ", e.value);
  }
});
</script>

Example - subscribe to the "change" event after initialization

<div id="colorpicker"></div>
<script>
function picker_change(e) {
  console.log("The picked color is ", e.value);
}
$("#colorpicker").kendoColorPicker();
var colorpicker = $("#colorpicker").data("kendoColorPicker");
colorpicker.bind("change", picker_change);
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy