diff --git a/en.cca3a95f.html b/en.cca3a95f.html new file mode 100644 index 0000000..582100d --- /dev/null +++ b/en.cca3a95f.html @@ -0,0 +1,60 @@ + + +
You can select or input a date, month, year, time or datetime
+ + +You can set the type of the v-model value by valueType.
Support to select a date range.
+ + +Disabled part of dates and time by disabledDate and disabledTime respectively.
+You should let the value of defaultValue not be disabled, when you use disabledDate or disabledTime.
+The default value of defaultValue is new Date().setHour(0,0,0,0).
You can set shortcuts to improve user experience.
+Use the header slot or the footer slot to render extra element in panel for customized requirements.
The display or hiding of the time panel can be controlled by showTimePanel.
+The time panel is displayed after the date is selected by default.
You can use the prop open to control the visible of popup.
+This example shows how to close the popup when the seconds is selected.
The columns of the time Picker is displayed according to the value of format(HH:mm:ss) by default.
+You can also set showHour showMinute showSecond to override the default value
Set stepped time options by hourStep minuteStep secondStep
+Set custom time options by hourOptions minuteOptions secondOptions.
You can provide a list of fixed time for users to choose by timePickerOptions
可以选择或手动输入一个日期, 月, 年, 时间或者日期加时间
+ + +通过valueType去设置v-model绑定的值的类型
支持选择一个日期范围
+ + +可用 disabledDate 和 disabledTime 分别禁止选择部分日期和时间.
+当你使用disabledDate 或 disabledTime的时候, 应该设置defaultValue的值是不被禁止选择的.
+defaultValue的默认值是new Date().setHour(0,0,0,0)
disabled: 设置组件是否禁用editable: 设置是否可手动输入可以通过设置 shortcuts 提升用户体验.
+也可以使用 slot header 或者 footer 去设置额外的元素.
时间选择的显示可以通过 showTimePanel 控制.
+默认情况下选择一个日期后时间面板就自动显示.
可以通过 open 去控制弹窗的显示
+下面的例子说明怎么关闭弹窗当选择秒的时候
时间选择的列是自动显示通过 format的设置.
+你可以通过 showHour showMinute showSecond 覆盖默认值
设置间隔的时间通过hourStep minuteStep secondStep.
+设置自定义的选择通过hourOptions minuteOptions secondOptions.
可以通过 timePickerOptions 提供一个固定的时间列表选择