setFocus

sets focus on the specified value

void setFocus(string value);

Parameters

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

Example

colorpicker.setFocus("#BDF0E9");

Related samples

See also
Change log

added in v6.4

Back to top