mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
Merge pull request #15433 from yuezk/update-tooltip-doc
docs: Correct the default value of mouseEnterDelay
This commit is contained in:
commit
729f3b96cf
@ -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` |
|
| 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` |
|
| 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 |
|
| 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 |
|
| mouseLeaveDelay | Delay in seconds, before tooltip is hidden on mouse leave | number | 0.1 |
|
||||||
| overlayClassName | Class name of the tooltip card | string | - |
|
| overlayClassName | Class name of the tooltip card | string | - |
|
||||||
| overlayStyle | Style of the tooltip card | object | - |
|
| overlayStyle | Style of the tooltip card | object | - |
|
||||||
|
@ -29,7 +29,7 @@ title: Tooltip
|
|||||||
| autoAdjustOverflow | 气泡被遮挡时自动调整位置 | boolean | `true` |
|
| autoAdjustOverflow | 气泡被遮挡时自动调整位置 | boolean | `true` |
|
||||||
| defaultVisible | 默认是否显隐 | boolean | false |
|
| defaultVisible | 默认是否显隐 | boolean | false |
|
||||||
| getPopupContainer | 浮层渲染父节点,默认渲染到 body 上 | Function(triggerNode) | () => document.body |
|
| getPopupContainer | 浮层渲染父节点,默认渲染到 body 上 | Function(triggerNode) | () => document.body |
|
||||||
| mouseEnterDelay | 鼠标移入后延时多少才显示 Tooltip,单位:秒 | number | 0 |
|
| mouseEnterDelay | 鼠标移入后延时多少才显示 Tooltip,单位:秒 | number | 0.1 |
|
||||||
| mouseLeaveDelay | 鼠标移出后延时多少才隐藏 Tooltip,单位:秒 | number | 0.1 |
|
| mouseLeaveDelay | 鼠标移出后延时多少才隐藏 Tooltip,单位:秒 | number | 0.1 |
|
||||||
| overlayClassName | 卡片类名 | string | 无 |
|
| overlayClassName | 卡片类名 | string | 无 |
|
||||||
| overlayStyle | 卡片样式 | object | 无 |
|
| overlayStyle | 卡片样式 | object | 无 |
|
||||||
|
Loading…
Reference in New Issue
Block a user