@pbroom/color-kit/driverMulti color

MultiColorUpdateEvent

Change notification a multi-color picker emits with its next state.

interfaceimport type { MultiColorUpdateEvent } from '@pbroom/color-kit/driver';multi-color-state.ts:49
interface MultiColorUpdateEvent {
  next: MultiColorState;
  interaction: ColorInteraction;
  id?: string;
  changedChannel?: ColorChannel;
}

Properties

nextMultiColorState
State after the update.
interactionColorInteraction
Input mechanism that caused the update.
id?string
Id of the entry the update touched, when it touched one.
changedChannel?ColorChannel
OKLCH channel the update edited, when it edited exactly one.

Also exported from