Skip to content

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 ​

ParameterDescriptionTypeOptionsDefault
modelValueBound valuestring—#000000

Type Definition ​

typescript
interface PickColorProps {
  modelValue?: string;
}

Released under the MIT License.