modeChange
fires on changing the mode of the colorpicker
modeChange: (view: string) => void;
Parameters:
view: string
- the colorpicker mode ("palette", "picker")
Example
colorpicker.events.on("modeChange", function(view) {
console.log("Selected mode: " + view);
});
Related sample: Colorpicker. Events
Change log:
added in v6.4