Skip to main content

ColorPickerInputCallback

The input callback to be executed upon color or opacity changes. This callback should be responsible for propagating the updated element state to external variables (e.g. ItemColorState).

Callable

  • ColorPickerInputCallback(elem, ev): any

  • Parameters

    • elem: HTMLFieldSetElement
    • ev: CustomEvent<{ source: hue | opacity | output | tint }>

    Returns any