ColorPicker
Basic usage
Disabled
Size
Disabled Alpha
Clear
Custom Trigger
Preset Colors
ColorPicker API
ColorPicker Attributes
Name | Description | Type | Default | Version |
---|---|---|---|---|
allowClear | Allow clearing color selected | boolean | false | |
disabled | Disable ColorPicker | boolean | false | |
disabledAlpha | Disable Alpha | boolean | false | |
format | Format of color | auto | rgb | hex | hsl | auto | |
presets | Preset colors | string[] | [] | |
value(v-model) | Value of color | string | — | |
size | Setting the trigger size | large | default | small | — |
ColorPicker Events
Name | Description | Type |
---|---|---|
change | Callback when value is changed | (color: string) => void |
clear | Called when clear | () => void |
ColorPicker Slots
Name | Description |
---|---|
default | Custom Trigger |