setFocus()
sets focus on the specified value
setFocus(value: string): void;
Parameters:
value: string
- the code of a color (in the Hex format) to set focus on
Example
colorpicker.setFocus("#BDF0E9");
Related sample: Colorpicker. Set focus
Change log:
added in v6.4