Skip to content

Commit

Permalink
Merge pull request #15433 from yuezk/update-tooltip-doc
Browse files Browse the repository at this point in the history
docs: Correct the default value of mouseEnterDelay
  • Loading branch information
afc163 committed Mar 15, 2019
2 parents f0298ba + 9673128 commit 729f3b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/tooltip/index.en-US.md
Expand Up @@ -27,7 +27,7 @@ The following APIs are shared by Tooltip, Popconfirm, Popover.
| autoAdjustOverflow | Whether to adjust popup placement automatically when popup is off screen | boolean | `true` |
| defaultVisible | Whether the floating tooltip card is visible by default | boolean | `false` |
| getPopupContainer | The DOM container of the tip, the default behavior is to create a `div` element in `body` | Function(triggerNode) | () => document.body |
| mouseEnterDelay | Delay in seconds, before tooltip is shown on mouse enter | number | 0 |
| mouseEnterDelay | Delay in seconds, before tooltip is shown on mouse enter | number | 0.1 |
| mouseLeaveDelay | Delay in seconds, before tooltip is hidden on mouse leave | number | 0.1 |
| overlayClassName | Class name of the tooltip card | string | - |
| overlayStyle | Style of the tooltip card | object | - |
Expand Down
2 changes: 1 addition & 1 deletion components/tooltip/index.zh-CN.md
Expand Up @@ -29,7 +29,7 @@ title: Tooltip
| autoAdjustOverflow | 气泡被遮挡时自动调整位置 | boolean | `true` |
| defaultVisible | 默认是否显隐 | boolean | false |
| getPopupContainer | 浮层渲染父节点,默认渲染到 body 上 | Function(triggerNode) | () => document.body |
| mouseEnterDelay | 鼠标移入后延时多少才显示 Tooltip,单位:秒 | number | 0 |
| mouseEnterDelay | 鼠标移入后延时多少才显示 Tooltip,单位:秒 | number | 0.1 |
| mouseLeaveDelay | 鼠标移出后延时多少才隐藏 Tooltip,单位:秒 | number | 0.1 |
| overlayClassName | 卡片类名 | string ||
| overlayStyle | 卡片样式 | object ||
Expand Down

0 comments on commit 729f3b9

Please sign in to comment.