为TimePicker增加定制anchor的API (#2390)

This commit is contained in:
Infinity 2016-07-15 11:11:55 +08:00 committed by 偏右
parent 2e4d09c68e
commit 5fa89f280a

View File

@ -33,6 +33,7 @@ API
| disabledMinutes | 禁止选择部分分钟选项 | function(selectedHour) | 无 |
| disabledSeconds | 禁止选择部分秒选项 | function(selectedHour, selectedMinute) | 无 |
| hideDisabledOptions | 隐藏禁止选择的选项 | boolean | false |
| getPopupContainer | 定义浮层的容器,默认为 body 上新建 div | function(trigger) | 无 |
| locale | 国际化配置 | Object | [默认配置](https://github.com/ant-design/ant-design/issues/1270#issuecomment-201181384) |
<style>.code-box-demo .ant-time-picker { margin: 0 8px 12px 0; }</style>