@pbroom/color-kit/driverMulti color
MultiColorUpdateEvent
Change notification a multi-color picker emits with its next state.
import type { MultiColorUpdateEvent } from '@pbroom/color-kit/driver';multi-color-state.ts:49interface MultiColorUpdateEvent {
next: MultiColorState;
interaction: ColorInteraction;
id?: string;
changedChannel?: ColorChannel;
}Properties
- next
MultiColorState - State after the update.
- interaction
ColorInteraction - 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
@pbroom/color-kit/reactthe same declaration, re-exported