| default-value | optional, default date of the calendar | Date | anything accepted by `new Date()` | — |
| default-time | the time value to use when selecting date range | string[] | Array with length 2, each item is a string like `12:00:00`. The first item for the start date and then second item for the end date | — |
| default-time | the default time value after picking a date | non-range: string / range: string[] | non-range: a string like `12:00:00`, range: array of two strings, and the first item is for the start date and second for the end date. `00:00:00` will be used if not specified | — |
| value-format | optional, format of binding value. If not specified, the binding value will be a Date object | string | see [date formats](#/en-US/component/date-picker#date-formats) | — |
| name | same as `name` in native input | string | — | — |
| unlink-panels | unllink two date-panels in range-picker | boolean | — | false |
@@ -233,7 +244,7 @@ DateTimePicker se deriva de DatePicker y TimePicker. Por una explicación más d
<divclass="block">
<spanclass="demonstration">Start date time 12:00:00</span>
<el-date-picker
v-model="value5"
v-model="value6"
type="datetimerange"
start-placeholder="Start Date"
end-placeholder="End Date"
...
...
@@ -243,7 +254,7 @@ DateTimePicker se deriva de DatePicker y TimePicker. Por una explicación más d
<divclass="block">
<spanclass="demonstration">Start date time 12:00:00, end date time 08:00:00</span>
<el-date-picker
v-model="value6"
v-model="value7"
type="datetimerange"
align="right"
start-placeholder="Start Date"
...
...
@@ -257,8 +268,8 @@ DateTimePicker se deriva de DatePicker y TimePicker. Por una explicación más d
exportdefault{
data(){
return{
value5:'',
value6:''
value6:'',
value7:''
};
}
};
...
...
@@ -285,7 +296,7 @@ DateTimePicker se deriva de DatePicker y TimePicker. Por una explicación más d
| picker-options | opciones adicionales, Comprueba la tabla de mas abajo | object | — | {} |
| range-separator | separador de rango | string | - | '-' |
| default-value | opcional, fecha predeterminada del calendario | Fecha | cualquier cosa aceptada por `new Date()` — | |
| default-time | the time value to use when selecting date range | string[] | Array with length 2, each item is a string like `12:00:00`. The first item for the start date and then second item for the end date | — |
| default-time | the default time value after picking a date | non-range: string / range: string[] | non-range: a string like `12:00:00`, range: array of two strings, and the first item is for the start date and second for the end date. `00:00:00` will be used if not specified | — |
| value-format | opcional, formato de valor de enlazado. Si no se especifica, el valor de enlazado será un objeto Date | cadena | ver [date formats](#/es/component/date-picker#date-formats) | — |
| name | igual que `name` en la entrada nativa | string | — | — |
| unlink-panels | desconectar dos date-panels en range-picker | boolean | — | false |