mirror of https://github.com/ElemeFE/element
DatePicker: 文档补充append-to-body字段 (#21970)
parent
d33c4e0c02
commit
29c5f6b16c
|
@ -476,6 +476,7 @@ When picking a date range, you can assign the time part for start date and end d
|
|||
| prefix-icon | Custom prefix icon class | string | — | el-icon-date |
|
||||
| clear-icon | Custom clear icon class | string | — | el-icon-circle-close |
|
||||
| validate-event | whether to trigger form validation | boolean | - | true |
|
||||
| append-to-body | whether to append DatePicker itself to body | boolean | — | true |
|
||||
|
||||
### Picker Options
|
||||
| Attribute | Description | Type | Accepted Values | Default |
|
||||
|
|
|
@ -476,6 +476,7 @@ Al seleccionar un intervalo de fechas, puede asignar la hora para la fecha de in
|
|||
| unlink-panels | desvincular los dos paneles de fecha en el range-picker | boolean | — | false |
|
||||
| prefix-icon | Clase personalizada para el icono prefijado | string | — | el-icon-date |
|
||||
| clear-icon | Clase personalizada para el icono `clear` | string | — | el-icon-circle-close |
|
||||
| append-to-body | Si adjuntar el cuadro de DatePicker al cuerpo | boolean | — | true |
|
||||
|
||||
### Opciones del Picker
|
||||
| Atributo | Descripción | Tipo | Valores aceptados | Por defecto |
|
||||
|
|
|
@ -456,6 +456,7 @@ Lorsque vous choisissez une plage de dates, vous pouvez assigner l'horaire de d
|
|||
| prefix-icon | Icône de préfixe. | string | — | el-icon-date |
|
||||
| clear-icon | Icône de reset. | string | — | el-icon-circle-close |
|
||||
| validate-event | Si la validation doit être déclenchée. | boolean | - | true |
|
||||
| append-to-body | S'il faut ajouter le DatePicker au body | boolean | — | true |
|
||||
|
||||
### Options du Picker
|
||||
| Attribut | Description | Type | Valeurs acceptées | Défaut |
|
||||
|
|
|
@ -429,6 +429,7 @@
|
|||
| prefix-icon | 自定义头部图标的类名 | string | — | el-icon-date |
|
||||
| clear-icon | 自定义清空图标的类名 | string | — | el-icon-circle-close |
|
||||
| validate-event | 输入时是否触发表单的校验 | boolean | - | true |
|
||||
| append-to-body | DetePicker 自身是否插入至 body 元素上。 | boolean | — | true |
|
||||
|
||||
### Picker Options
|
||||
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|
||||
|
|
Loading…
Reference in New Issue