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-modelenum
predefineopciones de colores predefinidasobject

Expuesto

NombreDescripciónParámetros
colorobjeto de color actualobject
inputRefcustom input refobject

Fuente

ComponentesStyleDocumentación

Contribuidores