mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 12:17:37 +08:00
* fix: update time picker doc (#1761) * fix: add format attribute to doc (#1761)
This commit is contained in:
parent
76f6a65a42
commit
77fc4a7522
@ -120,6 +120,7 @@ Can pick an arbitrary time range.
|
||||
| align | alignment | left / center / right | left |
|
||||
| popper-class | custom class name for TimePicker's dropdown | string | — | — |
|
||||
| range-separator | range separator | string | - | '-' |
|
||||
| format | format of the displayed value in the input box | string | see [date formats](#/en-US/component/date-picker#date-formats) | HH:mm:ss |
|
||||
| default-value | optional, default date of the calendar | Date for TimePicker, string for TimeSelect | anything accepted by `new Date()` for TimePicker, selectable value for TimeSelect | — |
|
||||
| name | same as `name` in native input | string | — | — |
|
||||
| prefix-icon | Custom prefix icon class | string | — | el-icon-time |
|
||||
|
@ -120,6 +120,7 @@ Es posible escoger un rango de tiempo arbitrario.
|
||||
| align | alineación | left / center / right | left | |
|
||||
| popper-class | nombre de clase personalizada para el dropdown del Time Picker | string | — | — |
|
||||
| range-separator | separador de rango | string | - | '-' |
|
||||
| format | format of the displayed value in the input box | string | see [date formats](#/en-US/component/date-picker#date-formats) | HH:mm:ss |
|
||||
| default-value | opcional, fecha por defecto del calendario | Fecha para Selector de Tiempo, string para el Seleccionador de Tiempo | cualquier cosa aceptada por `new Date()` para el Selector de Tiempo, Selector de Tiempo, valor seleccionable para el Seleccionador de Tiempo | — |
|
||||
| name | como `name` en input nativo | string | — | — |
|
||||
| prefix-icon | Clase personalizada para el icono de prefijado | string | — | el-icon-time |
|
||||
|
@ -121,6 +121,7 @@ Vous pouvez également définir un intervalle libre.
|
||||
| align | Alignement. | left / center / right | left |
|
||||
| popper-class | Classe du menu du TimePicker. | string | — | — |
|
||||
| range-separator | Séparateur d'intervalle. | string | - | '-' |
|
||||
| format | format of the displayed value in the input box | string | see [date formats](#/en-US/component/date-picker#date-formats) | HH:mm:ss |
|
||||
| default-value | Optionnel, date d'aujourd'hui par défaut. | `Date` pour le TimePicker, `string` pour le TimeSelect | Toute valeur acceptée par `new Date()` pour le TimePicker, une valeur sélectionnable pour TimeSelect. | — |
|
||||
| name | Attribut `name` natif de l'input. | string | — | — |
|
||||
| prefix-icon | Classe de l'icône de préfixe. | string | — | el-icon-time |
|
||||
|
@ -120,6 +120,7 @@
|
||||
| align | 整列 | left / center / right | left |
|
||||
| popper-class | タイムピッカーのドロップダウンのカスタムクラス名 | string | — | — |
|
||||
| range-separator | 範囲セパレータ | string | - | '-' |
|
||||
| format | format of the displayed value in the input box | string | see [date formats](#/en-US/component/date-picker#date-formats) | HH:mm:ss |
|
||||
| default-value | オプション、カレンダーのデフォルトの日付 | Date for TimePicker, string for TimeSelect | anything accepted by `new Date()` for TimePicker, selectable value for TimeSelect | — |
|
||||
| name | ネイティブ入力の `name` と同じ | string | — | — |
|
||||
| prefix-icon | カスタムプレフィックスアイコンクラス | string | — | el-icon-time |
|
||||
|
@ -121,7 +121,7 @@
|
||||
| align | 对齐方式 | string | left / center / right | left |
|
||||
| popper-class | TimePicker 下拉框的类名 | string | — | — |
|
||||
| range-separator | 选择范围时的分隔符 | string | - | '-' |
|
||||
| string | 见[日期格式](#/zh-CN/component/date-picker#ri-qi-ge-shi) | — |
|
||||
| format | 显示在输入框中的格式 | string | 见[日期格式](#/zh-CN/component/date-picker#ri-qi-ge-shi) | HH:mm:ss |
|
||||
| default-value | 可选,选择器打开时默认显示的时间 | Date(TimePicker) / string(TimeSelect) | 可被`new Date()`解析(TimePicker) / 可选值(TimeSelect) | — |
|
||||
| name | 原生属性 | string | — | — |
|
||||
| prefix-icon | 自定义头部图标的类名 | string | — | el-icon-time |
|
||||
|
Loading…
Reference in New Issue
Block a user