::: anchor
:::
::: title 基础使用
:::
::: demo 使用 `lay-color-picker` 标签, 创建颜色选择器。
:::
::: title 禁止选择
:::
::: demo 使用 `lay-color-picker` 标签, 创建颜色选择器。
:::
::: title 预设颜色
:::
::: demo 通过 `preset` 属性, 预设可选的颜色列表。
:::
::: title 取色器
:::
::: demo
:::
::: title Icon Picker 属性
:::
::: table
| | | | | |
| ---------- | -------- | --- |--- |--- |
| v-model | 选中色 | -- |-- |-- |
| preset | 预设颜色 | -- |-- |-- |
| eyeDropper | 取色器 | `boolean` |-- |-- |
| disabled | 禁用 | `boolean` |-- |-- |
| contentStyle | 内容自定义样式 | `StyleValue` | -- | -- |
| contentClass | 内容自定义Class | `string` `Array` `object` | -- | -- |
:::
::: contributor colorPicker
:::
::: previousNext colorPicker
:::