PickColor
Brief Introduction
The pickColor color picker component is used for users to select a color.
You can use <MYSelect-color></MYSelect-color> or <MYSelect-color /> to implement a color picker.
Basic Usage
Use v-model to bind the color value. The default color is black (#000000).
Code Demo
展开代码
API Reference
Props
| Parameter | Description | Type | Options | Default |
|---|---|---|---|---|
| modelValue | Bound value | string | — | #000000 |
Type Definition
typescript
interface PickColorProps {
modelValue?: string;
}