setCurrentMode()
shows colopicker either in the "palette" or in the "picker" mode
setCurrentMode(view: "palette" | "picker"): void;
Parameters:
view: string
- the mode to show: "palette" or "picker"
Example
colorpicker.setCurrentMode("picker");
Related sample: Colorpicker. Set current mode
Change log:
added in v6.3