Commit 828d591d authored by wacky6.AriesMBP's avatar wacky6.AriesMBP Committed by 杨奕

doc: add DatePicker default-value

parent 3fe9acf2
...@@ -262,6 +262,7 @@ Picking a date range is supported. ...@@ -262,6 +262,7 @@ Picking a date range is supported.
| popper-class | custom class name for DatePicker's dropdown | string | — | — | | popper-class | custom class name for DatePicker's dropdown | string | — | — |
| picker-options | additional options, check the table below | object | — | {} | | picker-options | additional options, check the table below | object | — | {} |
| range-separator | range separator | string | - | ' - ' | | range-separator | range separator | string | - | ' - ' |
| default-value | optional default time of the picker | Date | anything accepted by `new Date()` | - |
### Picker Options ### Picker Options
| Attribute | Description | Type | Accepted Values | Default | | Attribute | Description | Type | Accepted Values | Default |
......
...@@ -296,6 +296,7 @@ ...@@ -296,6 +296,7 @@
| popper-class | DatePicker 下拉框的类名 | string | — | — | | popper-class | DatePicker 下拉框的类名 | string | — | — |
|picker-options | 当前时间日期选择器特有的选项参考下表 | object | — | {} | |picker-options | 当前时间日期选择器特有的选项参考下表 | object | — | {} |
| range-separator | 选择范围时的分隔符 | string | - | ' - ' | | range-separator | 选择范围时的分隔符 | string | - | ' - ' |
| default-value | 可选,DatePicker打开时默认显示的时间 | Date | 可被new Date()解析 | - |
### Picker Options ### Picker Options
| 参数 | 说明 | 类型 | 可选值 | 默认值 | | 参数 | 说明 | 类型 | 可选值 | 默认值 |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment