Skip to main content

ColorPickerInputCallback

Callable

  • ColorPickerInputCallback(elem: HTMLFieldSetElement, ev: CustomEvent<{ source: hue | opacity | output | tint }>): any

  • 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).


    Parameters

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

    Returns any