Skip to main content

setValue()

sets the value as a string (in the Hex format) for a ColorPicker control

setValue(value: string): void;

Parameters:

value: string - the value to be set

Example

form.getItem("colorpicker").setValue("#02F7C6");