mirror of https://github.com/ElemeFE/element
Chore: update es changelog for 2.3.5 (#10815)
parent
25558f56cd
commit
b414efddfa
|
@ -4,15 +4,15 @@
|
|||
|
||||
*2018-04-20*
|
||||
|
||||
- Fixed incorrect highlights in DatePicker panel when `type` is week, #10712
|
||||
- Fixed InputNumber being empty when its initial value is 0, #10714
|
||||
- Added `automatic-dropdown` attribute for Select, #10042 (by @Seebiscuit)
|
||||
- Fixed disabled Rate's value still being updated by navigation keys, #10726 (by @Richard-Choooou)
|
||||
- Now DatePicker's `type` attribute can be `'dates'`, where you can pick multiple dates in one picker, #10650 (by @Mini256)
|
||||
- Added `prev-click` and `next-click` events for Pagination, #10755
|
||||
- Added `pager-count` attribute for Pagination, #10493 (by @chongjohn716)
|
||||
- Added `type` as the 3rd param of Tree's `allow-drop` attribute callback, #10792
|
||||
- Now we use ResizeObserver to detect DOM element resizing, #10779
|
||||
- Arreglado los incorrectos realces en el panel de DatePicker cuando `type` es week, #10712
|
||||
- Arreglado que InputNumber comenzaba vacio cuando el valor inicial era 0, #10714
|
||||
- Agregado el atributo `automatic-dropdown` para Select, #10042 (by @Seebiscuit)
|
||||
- Arreglado que el valor del Rate pasaba a `disabled` cuando se comenzaba a actualizar con las teclas de navegacion, #10726 (by @Richard-Choooou)
|
||||
- Ahora el atributo `type` de DatePicker's puede ser `'dates'`, donde puede elegir varias fechas en un solo picker, #10650 (by @Mini256)
|
||||
- Agregados los eventos `prev-click` y `next-click` para Pagination, #10755
|
||||
- Agregado el atributo `pager-count` para Pagination, #10493 (by @chongjohn716)
|
||||
- Agregado `type` como 3rd parametro del atributo `allow-drop` de Tree, #10792
|
||||
- Ahora usamos ResizeObserver para detectar el redimensionamiento de elementos DOM, #10779
|
||||
|
||||
### 2.3.4
|
||||
|
||||
|
|
|
@ -214,7 +214,7 @@ Agrega más modulos basados en su escenario.
|
|||
| page-size | cantidad de elementos por página | number | — | 10 |
|
||||
| total | total de elementos | number | — | — |
|
||||
| page-count | total de páginas. Asigna `total` o `page-count` y las páginas serán mostradas; si necesitas `page-sizes`, `total` es **requerido** | number | — | — |
|
||||
| pager-count | number of pagers. Pagination collapses when the total page count exceeds this value | number | odd number between 5 and 21 | 7 |
|
||||
| pager-count | número de paginadores. La paginación colapsa cuando el número total de páginas excede este valor. | number | odd number between 5 and 21 | 7 |
|
||||
| current-page | número actual de la página, soporta el modificador .sync | number | — | 1 |
|
||||
| layout | layout de la paginación, elementos separados por coma | string | `sizes`, `prev`, `pager`, `next`, `jumper`, `->`, `total`, `slot` | 'prev, pager, next, jumper, ->, total' |
|
||||
| page-sizes | opciones para la cantidad de elementos por página | number[] | — | [10, 20, 30, 40, 50, 100] |
|
||||
|
@ -228,8 +228,8 @@ Agrega más modulos basados en su escenario.
|
|||
| ----------------- | --------------------------------------- | ----------------------------- |
|
||||
| size-change | se dispara cuando `page-size` cambia | nuevo valor de `page-size` |
|
||||
| current-change | se dispara cuando `current-page` cambia | nuevo valor de `current-page` |
|
||||
| prev-click | triggers when the prev button is clicked and current page changes | the new current page |
|
||||
| next-click | triggers when the next button is clicked and current page changes | the new current page |
|
||||
| prev-click | Se dispara cuando el boton `prev` recibe el click y la pagina actual cambia | la nueva pagina actual |
|
||||
| next-click | Se dispara cuando el boton `next` recibe el click y la pagina actual cambia | la nueva pagina actual |
|
||||
|
||||
### Slot
|
||||
| Nombre | Descripción |
|
||||
|
|
|
@ -691,7 +691,7 @@ Si el valor de encuadernación de Select es un objeto, asegúrese de asignar `va
|
|||
| reserve-keyword | cuando `multiple` y `filter` es `true`, si se debe reservar la palabra clave actual después de seleccionar una opción. | boolean | — | false |
|
||||
| default-first-option | seleccione la primera opción de coincidencia en la tecla enter. Uso con `filterable` o `remote`. | boolean | - | false |
|
||||
| popper-append-to-body| si añadir o no el menu popup al body. Si el posicionamiento del popup es incorrecto, puede intentar poner este `prop` en `false`. | boolean | - | true |
|
||||
| automatic-dropdown | for non-filterable Select, this prop decides if the option menu pops up when the input is focused | boolean | - | false |
|
||||
| automatic-dropdown | para non-filterable Select, este `prop` decide si el menú de opciones aparece cuando la entrada está enfocada | boolean | - | false |
|
||||
|
||||
### Eventos Select
|
||||
| Nombre | Descripción | Parametros |
|
||||
|
|
|
@ -1185,7 +1185,7 @@ You can drag and drop Tree nodes by adding a `draggable` attribute.
|
|||
| indent | Indentación horizontal de los nodos en niveles adyacentes, en pixeles | number | — | 16 |
|
||||
| draggable | si se habilita la función de drag and drop en los nodos | boolean | — | false |
|
||||
| allow-drag | esta función se ejecutará antes de arrastrar un nodo. si devuelve `false`, el nodo no puede ser arrastrado. | Function(nodo) | — | — |
|
||||
| allow-drop | esta función se ejecutará al arrastrar y soltar un nodo. si devuelve false, el nodo arrastrando no se puede soltar en el nodo destino. `type` has three possible values: 'prev' (inserting the dragging node before the target node), 'inner' (inserting the dragging node to the target node) and 'next' (inserting the dragging node after the target node) | Function(Nodoquesearrastra, Nododestino, type) | — | — |
|
||||
| allow-drop | esta función se ejecutará al arrastrar y soltar un nodo. si devuelve false, el nodo arrastrando no se puede soltar en el nodo destino. `type` tiene tres valores posibles: 'prev' (insertar el nodo de arrastre antes del nodo de destino), 'inner' (insertar el nodo de arrastre en el nodo de destino) y 'next' (insertar el nodo de arrastre después del nodo de destino) | Function(Nodoquesearrastra, Nododestino, type) | — | — |
|
||||
|
||||
### props
|
||||
| Atributo | Descripción | Tipo | Valores aceptados | Por defecto |
|
||||
|
|
Loading…
Reference in New Issue