Skip to content

Commit

Permalink
docs(popper & tootip): 补充方法 updatePopperPosition 说明
Browse files Browse the repository at this point in the history
  • Loading branch information
ocean-gao committed Oct 21, 2024
1 parent ac1e075 commit 99bf8f9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
14 changes: 11 additions & 3 deletions docs/.vitepress/components/popper/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,17 @@ passive.vue

## Popper Events

| 事件名称 | 说明 | 回调参数 |
| ------------ | ------------------ | ---------- |
| clickOutside | 是否点击了外部区域 | () => void |
| 事件名称 | 说明 | 回调参数 |
| -------------------- | -------- | ---------- |
| updatePopperPosition | 更新位置 | () => void |

## Popper Methods

| 方法名称 | 说明 | 参数 |
| ---------- | ---------- | ------- |
| selectNode | 选中节点 | (value) |
| expandNode | 展开树节点 | (value) |
| checkNode | check 节点 | (value) |

## Popper Slots

Expand Down
6 changes: 6 additions & 0 deletions docs/.vitepress/components/tooltip/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ passive.vue
| cancel | 点击取消按钮回调,confirm 模式下有效 | (visible) => void |
| clickOutside | 是否点击了外部区域 | () => void |

## Tooltip Events

| 事件名称 | 说明 | 回调参数 |
| -------------------- | -------- | ---------- |
| updatePopperPosition | 更新位置 | () => void |

## Tooltip Slots

| 名称 | 说明 |
Expand Down

0 comments on commit 99bf8f9

Please sign in to comment.