Skip to content

Commit

Permalink
docs(module: TimePicker): nz-time-picker support 12-hour (NG-ZORRO#1513)
Browse files Browse the repository at this point in the history
  • Loading branch information
kekehaoz committed Feb 27, 2019
1 parent 36c91ac commit f86810d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/time-picker/doc/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ By clicking the input box, you can select a time from a popup panel.
| `[nzOpen]` | whether to popup panel, double binding | `boolean` | `false` |
| `[nzPlaceHolder]` | display when there's no value | `string` | `"Select a time"` |
| `[nzPopupClassName]` | className of panel | `string` | `''` |
| `[nzUse12Hours]` | display as 12 hours format, with default format h:mm:ss a | `boolean` | `false` |
| `(ngModelChange)` | a callback function, can be executed when the selected time is changing | `EventEmitter<Date>` | - |
| `(nzOpenChange)` | a callback function which will be called while panel opening/closing | `EventEmitter<boolean>` | - |

Expand Down
1 change: 1 addition & 0 deletions components/time-picker/doc/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ title: TimePicker
| `[nzOpen]` | 面板是否打开,可双向绑定 | `boolean` | `false` |
| `[nzPlaceHolder]` | 没有值的时候显示的内容 | `string` | `"请选择时间"` |
| `[nzPopupClassName]` | 弹出层类名 | `string` | `''` |
| `[nzUse12Hours]` | 使用 12 小时制,为 true 时 format 默认为 h:mm:ss a | `boolean` | `false` |
| `(ngModelChange)` | 时间发生变化的回调 | `EventEmitter<Date>` | - |
| `(nzOpenChange)` | 面板打开/关闭时的回调 | `EventEmitter<boolean>` | - |

Expand Down

0 comments on commit f86810d

Please sign in to comment.