Skip to content

ColorPicker

颜色选择器

参数

ts
type SchemaColorPickerWidgetOptions = {
    opacity?: boolean;
    inline?: boolean;
    swatches?: string[]; // 色样
    presets?: string[]; // 预选色
    format?: 'hex' | 'rgb' | 'hsl' | 'hsv';
};

示例

loading