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.

No border:

Deshabilitar ​

The disabled attribute determines if the color picker is fully disabled.

API ​

Personalizable ​

NombreDescripciónParámetrosValore por defecto
model-value / v-modelvalor vinculadostring—
borderwhether the color picker panel is borderedbooleantrue
disabledwhether to disable the color pickerbooleanfalse
show-alphaespecífica si se muestra el control deslizante para el valor alfabooleanfalse
color-formatformato de color del v-modelenumenum
predefineopciones de colores predefinidasarray—
validate-event 2.11.7si se debe activar la validación del formulariobooleantrue
hue-slider-class 2.13.6class names will be passed to hue-sliderobject—
hue-slider-style 2.13.6styles will be passed to hue-sliderstring / object—

Slots ​

NombreDescripción
footercontent to append after the Input

Expuesto ​

NombreDescripciónParámetros
colorobjeto de color actualobject
inputRefcustom input refobject
update 2.11.4update sub componentsFunction

Fuente ​

Componentes • Style • Documentación

Contribuidores ​