Variable ViraColorPickerConst
ViraColorPicker: DeclarativeElementDefinition<
"vira-color-picker",
Readonly<
{ color: string
| Readonly<Color>
| undefined } & PartialWithUndefined<
{ alwaysShowPicker: boolean; showHexValue: boolean },
>,
>,
{
rawInput: string | undefined;
selectedFormatName:
| "rgb"
| "hex"
| "hsl"
| "hwb"
| "lab"
| "lch"
| "oklab"
| "oklch";
},
{ colorChange: DefineElementEvent<string> },
"vira-color-picker-always-show",
"vira-color-picker-swatch-width" | "vira-color-picker-swatch-height",
readonly [],
readonly [],
> = ...
A color picker element with a swatch that opens a popover with color format sliders.
Set the width and height of the swatch using the provided CSS variables.