setView

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

void setView(string view);

Deprecated

instead of it, you can use the setCurrentMode method:

colorpicker.setCurrentMode(mode);

Parameters

viewstringthe view to show: "palette" or "picker"

Example

colorpicker.setView(view);

See also
Back to top