change
Description
fires when a new value is selected in the controlParameters
The callback of the event takes an object with the following parameter:
- value - (string) HEX code of the newly selected color
Example
<script>
function handleChange({value}){
console.log(value);
// HEX code
}
</script>
<ColorSelect onchange={handleChange}/>
Details
The handler function receives an object with the HEX code of the newly selected color.
Related article: Catching the change of selected options