ColorPickerPanel beta
ColorPickerPanel
is the core component of ColorPicker
.
Uso básico
ColorPickerPanel requires a string typed variable to be bound to v-model.
Alfa
ColorPickerPanel supports alpha channel selecting. To activate alpha selecting, just add the show-alpha
attribute.
Colores predefinidos
ColorPickerPanel supports predefined color options
Border
By default the color-picker-panel is bordered but in some case you don't want it.
Deshabilitar
The disabled
attribute determines if the color picker is fully disabled.
API
Personalizable
Nombre | Descripción | Parámetros | Valore por defecto |
---|---|---|---|
model-value / v-model | valor vinculado | string | — |
border | whether the color picker panel is bordered | boolean | true |
disabled | whether to disable the color picker | boolean | false |
show-alpha | específica si se muestra el control deslizante para el valor alfa | boolean | false |
color-format | formato de color del v-model | enum | — |
predefine | opciones de colores predefinidas | object | — |
Expuesto
Nombre | Descripción | Parámetros |
---|---|---|
color | objeto de color actual | object |
inputRef | custom input ref | object |
Fuente
Componentes • Style • Documentación