Edit this page

change

Triggers when a new color has been selected.

Event Data

e.value String

The value of the ColorPicker.

Example - subscribe to the "change" event during initialization

<div id="flatpicker"></div>
<script>
$("#flatpicker").kendoFlatColorPicker({
  change: function(e) {
    console.log("The newly selected color is ", e.value);
  }
});
</script>

Example - subscribe to the "change" event after initialization

<div id="flatpicker"></div>
<script>
function picker_change(e) {
  console.log("The newly selected color is ", e.value);
}
$("#flatpicker").kendoFlatColorPicker();
var flatpicker = $("#flatpicker").data("kendoFlatColorPicker");
flatpicker.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