setCurrentMode

shows colopicker either in the "palette" or in the "picker" mode

void setCurrentMode(string mode);

Parameters

modestringthe mode to show: "palette" or "picker"

Example

colorpicker.setCurrentMode("picker");

Related samples

See also
Change log

added in v6.3

Back to top