Skip to main content

ColorPickerInputCallback

Callable

  • ColorPickerInputCallback(elem: HTMLFieldSetElement, ev: CustomEvent<{ source: hue | output | opacity | 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 | output | opacity | tint }>

    Returns any