change

Triggers when a new color has been changed.

Example - subscribe to the "change" event during initialization

<div id="palette"></div>
<script>
$("#palette").kendoColorPalette({
  change: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log("The newly selected color is ", e.value);
  }
});
</script>

Example - subscribe to the "change" event after initialization

<div id="palette"></div>
<script>
function palette_change(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
  console.log("The newly selected color is ", e.value);
}
$("#palette").kendoColorPalette();
var palette = $("#palette").data("kendoColorPalette");
palette.bind("change", palette_change);
</script>
In this article