Logo FS-Skia-UI

ColorPicker Module

Typed Props front door for the `ColorPicker` control.

Functions and values

Function or value Description

defaults

Full Usage: defaults

Returns: ColorPickerProps<'msg>
Type parameters: 'msg

Authoring defaults; optional fields take their value from here.

Returns: ColorPickerProps<'msg>

view props

Full Usage: view props

Parameters:
Returns: Widget<'msg>
Type parameters: 'msg

Lowers to a legacy `Wrap` of colored swatch `Button` cells (one per swatch), the `Selected` cell highlighted; empty `Swatches` ⇒ empty grid; `OnSelected = None` ⇒ no binding.

props : ColorPickerProps<'msg>
Returns: Widget<'msg>

Type something to start searching.