mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
docs(popover) (#377)
* doc(popover) * Update src/popover/demos/enUS/index.demo-entry.md Co-authored-by: wanli.song@tusimple.ai <wanli.song@tusimple.ai> Co-authored-by: 07akioni <07akioni2@gmail.com>
This commit is contained in:
parent
5a25b0cfe3
commit
79d1d381f2
@ -39,8 +39,8 @@ header
|
||||
| title | `string` | `undefined` | Popover title. |
|
||||
| trigger | `'hover' \| 'click' \| 'manual'` | `'hover'` | The popover trigger type. |
|
||||
| width | `number \| 'trigger'` | `undefined` | `'trigger'` means popover's witdh will follow its trigger's width. |
|
||||
| x | `number` | `undefined` | The CSS `left` pixel value when popover manually positioned. |
|
||||
| y | `number` | `undefined` | The CSS `top` pixel value when popover manually positioned. |
|
||||
| x | `number` | `undefined` | The CSS `left` pixel value when popover manually positioned (x, y need to be set together). |
|
||||
| y | `number` | `undefined` | The CSS `top` pixel value when popover manually positioned (x, y need to be set together). |
|
||||
| on-update:show | `(value: boolean) => void` | `undefined` | Callback on show status changes. |
|
||||
|
||||
## Slots
|
||||
|
@ -40,8 +40,8 @@ header
|
||||
| title | `string` | `undefined` | popover 的 title 信息 |
|
||||
| trigger | `'hover' \| 'click' \| 'manual'` | `'hover'` | popover 的触发方式 |
|
||||
| width | `number \| 'trigger'` | `undefined` | `'trigger'` 表示 popover 的宽度会和它的触发元素一致 |
|
||||
| x | `number` | `undefined` | 手动控制位置时弹出内容的 CSS `left` 的像素值 |
|
||||
| y | `number` | `undefined` | 手动控制位置时弹出内容的 CSS `top` 的像素值 |
|
||||
| x | `number` | `undefined` | 手动控制位置时弹出内容的 CSS `left` 的像素值(x,y 都设置才能生效)|
|
||||
| y | `number` | `undefined` | 手动控制位置时弹出内容的 CSS `top` 的像素值(x,y 都设置才能生效)|
|
||||
| on-update:show | `(value: boolean) => void` | `undefined` | 显示状态改变的回调函数 |
|
||||
|
||||
## Slots
|
||||
|
Loading…
Reference in New Issue
Block a user