change
Triggers when a new color has been selected.
Event Data
e.value String
The value of the FlatColorPicker.
Example - subscribe to the "change" event during initialization
<div id="flatpicker"></div>
<script>
$("#flatpicker").kendoFlatColorPicker({
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="flatpicker"></div>
<script>
function picker_change(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log("The newly selected color is ", e.value);
}
$("#flatpicker").kendoFlatColorPicker();
var flatpicker = $("#flatpicker").data("kendoFlatColorPicker");
flatpicker.bind("change", picker_change);
</script>