chore: update time picker doc & Migration from Element 2.x guide (#1092)

* chore: update time picker doc

* chore: update
This commit is contained in:
zazzaz 2020-12-23 15:56:44 +08:00 committed by GitHub
parent 91c5c70008
commit ab4841c8f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 75 additions and 10 deletions

View File

@ -0,0 +1,9 @@
## Migration from Element 2.x
This document will help you upgrade from Element 2.x to Element Plus.
### Breaking changes
Here is the list of breaking changes.
For now, check [list of breaking changes](https://github.com/element-plus/element-plus/issues/162) for full details before more thorough documentation is available.

View File

@ -115,8 +115,8 @@ Can pick an arbitrary time range.
| placeholder | placeholder in non-range mode | string | — | — |
| start-placeholder | placeholder for the start time in range mode | string | — | — |
| end-placeholder | placeholder for the end time in range mode | string | — | — |
| is-range | whether to pick a time range, only works with `<el-time-picker>` | boolean | — | false |
| arrow-control | whether to pick time using arrow buttons, only works with `<el-time-picker>` | boolean | — | false |
| is-range | whether to pick a time range | boolean | — | false |
| arrow-control | whether to pick time using arrow buttons | boolean | — | false |
| align | alignment | left / center / right | left |
| popper-class | custom class name for TimePicker's dropdown | string | — | — |
| range-separator | range separator | string | - | '-' |

View File

@ -0,0 +1,9 @@
## Migration from Element 2.x
This document will help you upgrade from Element 2.x to Element Plus.
### Breaking changes
Here is the list of breaking changes.
For now, check [list of breaking changes](https://github.com/element-plus/element-plus/issues/162) for full details before more thorough documentation is available.

View File

@ -115,8 +115,8 @@ Es posible escoger un rango de tiempo arbitrario.
| placeholder | placeholder en un modo fuera de rango | string | — | — |
| start-placeholder | placeholder para el tiempo de inicio en modo de rango | string | — | — |
| end-placeholder | placeholder para el tiempo de finalización en modo de rango | string | — | — |
| is-range | si es posible escoger un rango de tiempo, solo funciona con `<el-time-picker>` | boolean | — | false |
| arrow-control | si es posible escoger el tiempo usando los botones de flecha, solo funciona con `<el-time-picker>` | boolean | — | false |
| is-range | si es posible escoger un rango de tiempo, solo funciona con | boolean | — | false |
| arrow-control | si es posible escoger el tiempo usando los botones de flecha | boolean | — | false |
| 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 | - | '-' |

View File

@ -0,0 +1,9 @@
## Migration from Element 2.x
This document will help you upgrade from Element 2.x to Element Plus.
### Breaking changes
Here is the list of breaking changes.
For now, check [list of breaking changes](https://github.com/element-plus/element-plus/issues/162) for full details before more thorough documentation is available.

View File

@ -116,8 +116,8 @@ Vous pouvez également définir un intervalle libre.
| placeholder | Placeholder en mode non-intervalle. | string | — | — |
| start-placeholder | Placeholder de l'horaire de début en mode intervalle. | string | — | — |
| end-placeholder | Placeholder de l'horaire de fin en mode intervalle. | string | — | — |
| is-range | Si le mode intervalle est activé, marche avec `<el-time-picker>`. | boolean | — | false |
| arrow-control | Si les flèches directionnelles peuvent être utilisées, marche avec `<el-time-picker>`. | boolean | — | false |
| is-range | Si le mode intervalle est activé | boolean | — | false |
| arrow-control | Si les flèches directionnelles peuvent être utilisées | boolean | — | false |
| align | Alignement. | left / center / right | left |
| popper-class | Classe du menu du TimePicker. | string | — | — |
| range-separator | Séparateur d'intervalle. | string | - | '-' |

View File

@ -0,0 +1,9 @@
## Migration from Element 2.x
This document will help you upgrade from Element 2.x to Element Plus.
### Breaking changes
Here is the list of breaking changes.
For now, check [list of breaking changes](https://github.com/element-plus/element-plus/issues/162) for full details before more thorough documentation is available.

View File

@ -115,8 +115,8 @@
| placeholder | 非範囲モード時のプレースホルダ | string | — | — |
| start-placeholder | 範囲モードの開始時刻のプレースホルダ | string | — | — |
| end-placeholder | 範囲モード終了時のプレースホルダ | string | — | — |
| is-range | 時間範囲を選択するかどうか、`<el-time-picker>` でのみ動作します。 | boolean | — | false |
| arrow-control | 矢印ボタンを使って時間を選択するかどうか、`<el-time-picker>` でのみ動作します。 | boolean | — | false |
| is-range | 時間範囲を選択するかどうか | boolean | — | false |
| arrow-control | 矢印ボタンを使って時間を選択するかどうか| boolean | — | false |
| align | 整列 | left / center / right | left |
| popper-class | タイムピッカーのドロップダウンのカスタムクラス名 | string | — | — |
| range-separator | 範囲セパレータ | string | - | '-' |

View File

@ -0,0 +1,9 @@
## 从 Element 2.x 升级
本文档将帮助你从 Element 2.x 升级至 Element Plus.
### 不兼容更新
以下是不兼容更新的列表
本文档有待完善,目前请参考这里的 [不兼容更新列表](https://github.com/element-plus/element-plus/issues/162)。

View File

@ -116,8 +116,8 @@
| placeholder | 非范围选择时的占位内容 | string | — | — |
| start-placeholder | 范围选择时开始日期的占位内容 | string | — | — |
| end-placeholder | 范围选择时开始日期的占位内容 | string | — | — |
| is-range | 是否为时间范围选择,仅对`<el-time-picker>`有效 | boolean | — | false |
| arrow-control | 是否使用箭头进行时间选择,仅对`<el-time-picker>`有效 | boolean | — | false |
| is-range | 是否为时间范围选择 | boolean | — | false |
| arrow-control | 是否使用箭头进行时间选择 | boolean | — | false |
| align | 对齐方式 | string | left / center / right | left |
| popper-class | TimePicker 下拉框的类名 | string | — | — |
| range-separator | 选择范围时的分隔符 | string | - | '-' |

View File

@ -27,6 +27,10 @@
"path": "/i18n",
"name": "国际化"
},
{
"path": "/migration-from-2.x",
"name": "从 Element 2.x 升级"
},
{
"path": "/custom-theme",
"name": "自定义主题"
@ -337,6 +341,10 @@
"path": "/i18n",
"name": "Internationalization"
},
{
"path": "/migration-from-2.x",
"name": "Migration from Element 2.x"
},
{
"path": "/custom-theme",
"name": "Custom Theme"
@ -647,6 +655,10 @@
"path": "/i18n",
"name": "Internationalization"
},
{
"path": "/migration-from-2.x",
"name": "Migration from Element 2.x"
},
{
"path": "/custom-theme",
"name": "Custom Theme"
@ -957,6 +969,10 @@
"path": "/i18n",
"name": "Internationalisation"
},
{
"path": "/migration-from-2.x",
"name": "Migration from Element 2.x"
},
{
"path": "/custom-theme",
"name": "Thème"
@ -1267,6 +1283,10 @@
"path": "/i18n",
"name": "Internationalization"
},
{
"path": "/migration-from-2.x",
"name": "Migration from Element 2.x"
},
{
"path": "/custom-theme",
"name": "Custom Theme"