mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
docs(color-picker): fix api table modes
This commit is contained in:
parent
b3ec9344cd
commit
686afa00d1
@ -17,7 +17,7 @@ form
|
||||
| --- | --- | --- | --- |
|
||||
| default-show | `boolean` | `undefined` | Whether to show panel by default. |
|
||||
| default-value | `string` | `#000000` | Default value of the picker. |
|
||||
| modes | `Array<'rgba' \| 'hexa' \| 'hsla' \| 'hsva'>` | `['rgba', 'hexa', 'hsla']` | The value format of the picker. Notice that value will follow the mode once you select a new value from the picker. |
|
||||
| modes | `Array<'rgb' \| 'hex' \| 'hsl' \| 'hsv'>` | `['rgb', 'hex', 'hsl']` | The value format of the picker. Notice that value will follow the mode once you select a new value from the picker. |
|
||||
| to | `string \| HTMLElement` | `'body'` | Where to detach the panel. |
|
||||
| show | `boolean` | `undefined` | Whether to show the panel. |
|
||||
| show-alpha | `boolean` | `true` | Whether alpha can be adjusted. |
|
||||
|
@ -17,7 +17,7 @@ form
|
||||
| --- | --- | --- | --- |
|
||||
| default-show | `boolean` | `undefined` | 默认是否展示弹出层 |
|
||||
| default-value | `string` | `#000000` | 默认的颜色值 |
|
||||
| modes | `Array<'rgba' \| 'hexa' \| 'hsla' \| 'hsva'>` | `['rgba', 'hexa', 'hsla']` | 颜色选择器支持颜色的格式,注意一旦你在某个模式下选择了值,颜色选择器值的格式将跟随这个格式 |
|
||||
| modes | `Array<'rgb' \| 'hex' \| 'hsl' \| 'hsv'>` | `['rgb', 'hex', 'hsl']` | 颜色选择器支持颜色的格式,注意一旦你在某个模式下选择了值,颜色选择器值的格式将跟随这个格式 |
|
||||
| to | `string \| HTMLElement` | `'body'` | 面板的卸载位置 |
|
||||
| show | `boolean` | `undefined` | 是否展示面板 |
|
||||
| show-alpha | `boolean` | `true` | 是否可调节 alpha 通道 |
|
||||
|
Loading…
Reference in New Issue
Block a user