getCurrentMode

returns the current mode of displaying ColorPicker

string getCurrentMode();

Returns

stringthe current mode of the colorpicker: "palette" or "picker"

Example

var mode = colorpicker.getCurrentMode(); // -> "palette"

See also
Change log

added in v6.3

Back to top