Sfoglia il codice sorgente

Docs: misc updates

Leopoldthecoder 8 anni fa
parent
commit
a809a20361

+ 3 - 3
examples/docs/en-US/date-picker.md

@@ -252,9 +252,9 @@ Picking a date range is supported.
 ### Attributes
 | Attribute      | Description          | Type      | Accepted Values       | Default  |
 |---------- |-------------- |---------- |--------------------------------  |-------- |
-| readonly | read only | boolean | — | false |
-| disabled | disabled | boolean | - | false |
-| editable | editable | boolean | - | true |
+| readonly | whether DatePicker is read only | boolean | — | false |
+| disabled | whether DatePicker is disabled | boolean | - | false |
+| editable | whether the input is editable | boolean | - | true |
 | placeholder | placeholder | string | — | — |
 | type | type of the picker | string | year/month/date/datetime/week/datetimerange/daterange | date |
 | format | format of the picker | string | year `yyyy` month `MM` day `dd`, <br>hour `HH`, minute `mm`, second `ss` | yyyy-MM-dd |

+ 3 - 3
examples/docs/en-US/datetime-picker.md

@@ -207,9 +207,9 @@ Select date and time in one picker.
 ### Attributes
 | Attribute      | Description          | Type      | Accepted Values       | Default  |
 |---------- |-------------- |---------- |--------------------------------  |-------- |
-| readonly | read only | boolean | — | false |
-| disabled | disabled | boolean | - | false |
-| editable | editable | boolean | - | true |
+| readonly | whether DatePicker is read only | boolean | — | false |
+| disabled | whether DatePicker is disabled | boolean | - | false |
+| editable | whether the input is editable | boolean | - | true |
 | placeholder | placeholder | string | — | — |
 | type | type of the picker | string | year/month/date/datetime/week/datetimerange/daterange | date |
 | format | format of the picker | string | year `yyyy` month `MM` day `dd`, <br>hour `HH`, minute `mm`, second `ss` | yyyy-MM-dd |

+ 1 - 0
examples/docs/en-US/dialog.md

@@ -168,6 +168,7 @@ The content of Dialog can be anything, even a table or a form. This example show
 | custom-class      | custom class names for Dialog | string    | — | — |
 | close-on-click-modal | whether the Dialog can be closed by clicking the mask | boolean    | — | true |
 | close-on-press-escape | whether the Dialog can be closed by pressing ESC | boolean    | — | true |
+| show-close | whether to show a close button | boolean    | — | true |
 
 ### Slot
 

+ 3 - 3
examples/docs/en-US/time-picker.md

@@ -143,9 +143,9 @@ Can pick an arbitrary time range.
 ### Attributes
 | Attribute      | Description          | Type      | Accepted Values       | Default  |
 |---------- |-------------- |---------- |--------------------------------  |-------- |
-| readonly | read only | boolean | — | false |
-| disabled | disabled | boolean | - | false |
-| editable | editable | boolean | - | true |
+| readonly | whether DatePicker is read only | boolean | — | false |
+| disabled | whether DatePicker is disabled | boolean | - | false |
+| editable | whether the input is editable | boolean | - | true |
 | placeholder | placeholder | string | — | — |
 | format | format of the picker | string | hour `HH`, minute `mm`, second `ss` | HH:mm:ss |
 | value | value of the picker | date for Time Picker, and string for Time Select | hour `HH`, minute `mm`, second `ss` | HH:mm:ss |

+ 1 - 0
examples/docs/zh-CN/dialog.md

@@ -187,6 +187,7 @@ Dialog 组件的内容可以是任意的,甚至可以是表格或表单,下
 | custom-class      | Dialog 的自定义类名 | string    | — | — |
 | close-on-click-modal | 是否可以通过点击 modal 关闭 Dialog | boolean    | — | true |
 | close-on-press-escape | 是否可以通过按下 ESC 关闭 Dialog | boolean    | — | true |
+| show-close | 是否显示关闭按钮 | boolean    | — | true |
 
 ### Slot
 | name | 说明 |