getCurrentMode()
returns the current mode of displaying Colorpicker
getCurrentMode(): "palette" | "picker";
Returns:
A string with the the current mode of the colorpicker: "palette" or "picker".
Example
const mode = colorpicker.getCurrentMode(); // -> "palette"
Change log:
added in v6.3