Skip to content

Commit

Permalink
docs: 添加tooltip destroyTooltipOnHide Api说明 (#18859)
Browse files Browse the repository at this point in the history
* 添加tooltip destroyTooltipOnHide Api说明

* 添加tooltip destroyTooltipOnHide Api说明

* 修复destroyTooltipOnHide说明
  • Loading branch information
ooolog authored and yoyo837 committed Sep 17, 2019
1 parent b188a5e commit f956b55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/tooltip/index.en-US.md
Expand Up @@ -35,6 +35,7 @@ The following APIs are shared by Tooltip, Popconfirm, Popover.
| trigger | Tooltip trigger mode | `hover` \| `focus` \| `click` \| `contextMenu` | `hover` | |
| visible | Whether the floating tooltip card is visible or not | boolean | `false` | |
| onVisibleChange | Callback executed when visibility of the tooltip card is changed | (visible) => void | - | |
| destroyTooltipOnHide | whether destroy tooltip when tooltip is hidden | boolean | false | |
| align | this value will be merged into placement's config, please refer to the settings [rc-tooltip](https://github.com/react-component/tooltip) | Object | - | 3.10.0 |

## Note
Expand Down
1 change: 1 addition & 0 deletions components/tooltip/index.zh-CN.md
Expand Up @@ -37,6 +37,7 @@ title: Tooltip
| trigger | 触发行为,可选 `hover/focus/click/contextMenu` | string | hover | |
| visible | 用于手动控制浮层显隐 | boolean | false | |
| onVisibleChange | 显示隐藏的回调 | (visible) => void || |
| destroyTooltipOnHide | 是否在隐藏时销毁 Tooltip | boolean | false | |
| align | 该值将合并到 placement 的配置中,设置参考 [rc-tooltip](https://github.com/react-component/tooltip) | Object || 3.10.0 |

## 注意
Expand Down

0 comments on commit f956b55

Please sign in to comment.