Browse Source

docs: update tooltip visible(v-model)

pull/165/head
tjz 7 years ago
parent
commit
17e0962d08
  1. 2
      components/tooltip/index.en-US.md
  2. 2
      components/tooltip/index.zh-CN.md

2
components/tooltip/index.en-US.md

@ -20,7 +20,7 @@ The following APIs are shared by Tooltip, Popconfirm, Popover.
| overlayStyle | Style of the tooltip card | object | - | | overlayStyle | Style of the tooltip card | object | - |
| placement | The position of the tooltip relative to the target, which can be one of `top` `left` `right` `bottom` `topLeft` `topRight` `bottomLeft` `bottomRight` `leftTop` `leftBottom` `rightTop` `rightBottom` | string | `top` | | placement | The position of the tooltip relative to the target, which can be one of `top` `left` `right` `bottom` `topLeft` `topRight` `bottomLeft` `bottomRight` `leftTop` `leftBottom` `rightTop` `rightBottom` | string | `top` |
| trigger | Tooltip trigger mode | `hover` \| `focus` \| `click` \| `contextmenu` | `hover` | | trigger | Tooltip trigger mode | `hover` \| `focus` \| `click` \| `contextmenu` | `hover` |
| visible | Whether the floating tooltip card is visible or not | boolean | `false` | | visible(v-model) | Whether the floating tooltip card is visible or not | boolean | `false` |
### events ### events
| Events Name | Description | Arguments | | Events Name | Description | Arguments |

2
components/tooltip/index.zh-CN.md

@ -20,7 +20,7 @@
| overlayStyle | 卡片样式 | object | 无 | | overlayStyle | 卡片样式 | object | 无 |
| placement | 气泡框位置,可选 `top` `left` `right` `bottom` `topLeft` `topRight` `bottomLeft` `bottomRight` `leftTop` `leftBottom` `rightTop` `rightBottom` | string | top | | placement | 气泡框位置,可选 `top` `left` `right` `bottom` `topLeft` `topRight` `bottomLeft` `bottomRight` `leftTop` `leftBottom` `rightTop` `rightBottom` | string | top |
| trigger | 触发行为,可选 `hover/focus/click/contextmenu` | string | hover | | trigger | 触发行为,可选 `hover/focus/click/contextmenu` | string | hover |
| visible | 用于手动控制浮层显隐 | boolean | false | | visible(v-model) | 用于手动控制浮层显隐 | boolean | false |
### 事件 ### 事件
| 事件名称 | 说明 | 回调参数 | | 事件名称 | 说明 | 回调参数 |

Loading…
Cancel
Save