focusValue

sets focus on the specified value

void focusValue(string value);

Deprecated

instead of it, you can use the setFocus method:

colorpicker.setFocus("#BDF0E9");

Parameters

valuestringthe code of a color (in the Hex format) to set focus on

Example

colorpicker.focusValue("#BDF0E9");

Back to top