ColorPickerView.model
property · packages/mixins-ui/src/colorPicker.ts:518
readonly model: ModelMixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/colorPicker.ts:517
interface ColorPickerView<Message> {
readonly model: Model
readonly onMessage: (message: typeof Message.Type) => NoInfer<Message>
readonly label: string
readonly presets?: ReadonlyArray<ColorPickerPreset> | undefined
readonly alpha?: boolean | undefined
readonly eyedropper?: boolean | undefined
readonly labels?: Partial<ColorPickerLabels> | undefined
readonly disabled?: boolean | undefined
readonly style?: NamedStyle<typeof ColorPickerSlots> | undefined
readonly slider?: NamedStyle<typeof SliderSlots> | undefined
readonly mixins?: MixinList<Message> | undefined
}ColorPickerView.modelproperty · packages/mixins-ui/src/colorPicker.ts:518
readonly model: ModelColorPickerView.onMessageproperty · packages/mixins-ui/src/colorPicker.ts:520
readonly onMessage: (message: typeof Message.Type) => NoInfer<Message>Lifts the picker's own Messages into the application's.
ColorPickerView.labelproperty · packages/mixins-ui/src/colorPicker.ts:522
readonly label: stringWhat the color is for, shown and naming the group.
ColorPickerView.presetsproperty · packages/mixins-ui/src/colorPicker.ts:524
readonly presets?: ReadonlyArray<ColorPickerPreset> | undefinedColors one press away, drawn as a radio group of swatches; the one equal to the color is checked.
ColorPickerView.alphaproperty · packages/mixins-ui/src/colorPicker.ts:526
readonly alpha?: boolean | undefinedDefault true; without it the color is opaque and its slider is not drawn.
ColorPickerView.eyedropperproperty · packages/mixins-ui/src/colorPicker.ts:528
readonly eyedropper?: boolean | undefinedDraws the eyedropper; default whether the browser has one (canEyedrop).
ColorPickerView.labelsproperty · packages/mixins-ui/src/colorPicker.ts:529
readonly labels?: Partial<ColorPickerLabels> | undefinedColorPickerView.disabledproperty · packages/mixins-ui/src/colorPicker.ts:530
readonly disabled?: boolean | undefinedColorPickerView.styleproperty · packages/mixins-ui/src/colorPicker.ts:532
readonly style?: NamedStyle<typeof ColorPickerSlots> | undefinedA style of ColorPickerSlots, for the look.
ColorPickerView.sliderproperty · packages/mixins-ui/src/colorPicker.ts:534
readonly slider?: NamedStyle<typeof SliderSlots> | undefinedThe hue and alpha Sliders' style.
ColorPickerView.mixinsproperty · packages/mixins-ui/src/colorPicker.ts:536
readonly mixins?: MixinList<Message> | undefinedMixins beside the style.