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:
Wanli Song 2021-07-05 14:51:39 +08:00 committed by GitHub
parent 5a25b0cfe3
commit 79d1d381f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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` 的像素值xy 都设置才能生效)|
| y | `number` | `undefined` | 手动控制位置时弹出内容的 CSS `top` 的像素值xy 都设置才能生效)|
| on-update:show | `(value: boolean) => void` | `undefined` | 显示状态改变的回调函数 |
## Slots