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>
In this article
Not finding the help you need?