Skip to main content

setValue()

selects a color in ColorPicker

setValue(value: string): void;

Parameters:

value: string - the code of a color (in the Hex format) to select

Example

colorpicker.setValue("#BDF0E9");

Related sample: Colorpicker. Set Value