Skip to main content

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");

Change log:

added in v6.3