mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
Add some translation
This commit is contained in:
parent
497ff0cabb
commit
123b2c1728
@ -24,3 +24,4 @@ The difference with `confirm` is more lightweight than the static popped full-sc
|
||||
| okText | text of the confirmation button | String | Confirm |
|
||||
| cancelText| text of the cancel button | String | Cancel |
|
||||
| openClassName | class name of the trigger, using for highlighting the trigger while triggered | string | ant-popover-open |
|
||||
| arrowPointAtCenter | whether arrow pointed at the center of target, supported after `antd@1.11+` | Boolean | `false` |
|
||||
|
@ -26,3 +26,4 @@ Comparing with `Tooltip`, besides information `Popover` card can also provide ac
|
||||
| onVisibleChange | callback of the visible attribute changed | function | none |
|
||||
| getTooltipContainer | rendered to the root of the menu. Default rendered to the body dom. If gets any problem of the menu while scrolling. Try to make the root the dom scrolled, and make it position relative. [Sample](http://codepen.io/anon/pen/xVBOVQ?editors=001) | Function(triggerNode) | () => document.body |
|
||||
| openClassName | class name of the trigger, using for highlighting the trigger while triggered | string | ant-popover-open |
|
||||
| arrowPointAtCenter | whether arrow pointed at the center of target, supported after `antd@1.11+` | Boolean | `false` |
|
||||
|
@ -8,9 +8,9 @@ A simple text popup tip.
|
||||
|
||||
## When To Use
|
||||
|
||||
- The tip shows while mouse enter, and hides while mouse leave, the ToolTip doesn't support complex text and operation.
|
||||
- The tip shows while mouse enter, and hides while mouse leave, the ToolTip doesn't support complex text and operation.
|
||||
|
||||
- It can provide a explain of `button/text/opration`, that can cover the usage of the default system `title`.
|
||||
- It can provide a explain of `button/text/opration`, that can cover the usage of the default system `title`.
|
||||
|
||||
## API
|
||||
|
||||
@ -19,5 +19,6 @@ A simple text popup tip.
|
||||
| placement | to set the position, which can be one of `top` `left` `right` `bottom` `topLeft` `topRight` `bottomLeft` `bottomRight` `leftTop` `leftBottom` `rightTop` `rightBottom` | string | top |
|
||||
| title | prompt text | string/React.Element | - |
|
||||
| getTooltipContainer | to set the container of the tip, while the default is to create a `div` element in `body` | Function(triggerNode) | () => document.body |
|
||||
| arrowPointAtCenter | whether arrow pointed at the center of target, supported after `antd@1.11+` | Boolean | `false` |
|
||||
|
||||
You can visit https://github.com/react-component/tooltip for more API.
|
||||
|
Loading…
Reference in New Issue
Block a user