docs: drawer.md add modal-class attribute (#1974)

This commit is contained in:
Black 2021-05-24 17:30:34 +08:00 committed by GitHub
parent 0bb128315b
commit 27e8616739
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 2 deletions

View File

@ -279,6 +279,7 @@ Drawer provides an API called `destroyOnClose`, which is a flag variable that in
| title | Drawer's title, can also be set by named slot, detailed descriptions can be found in the slot form | string | — | — |
| model-value / v-model | Should Drawer be displayed | boolean | — | false |
| withHeader | Flag that controls the header section's existance, default to true, when withHeader set to false, both `title attribute` and `title slot` won't work | boolean | - | true |
| modal-class | Extra class names for shadowing layer | string | - | - |
### Drawer Slots

View File

@ -279,6 +279,7 @@ El Drawer proporciona una API llamada "destroyOnClose", que es una variable de b
| title | El título del Drawer, también se puede establecer por slot con nombre, las descripciones detalladas se pueden encontrar en el formulario de slot. | string | — | — |
| model-value / v-model | Si se muestra el Drawer | boolean | — | false |
| withHeader | Flag that controls the header section's existance, default to true, when withHeader set to false, both `title attribute` and `title slot` won't work | boolean | - | true |
| modal-class | Nombre extra de clase para capa de sombra | string | - | - |
### Drawer Slot's

View File

@ -278,6 +278,7 @@ Drawer provides an API called `destroyOnClose`, which is a flag variable that in
| title | Drawer's title, can also be set by named slot, detailed descriptions can be found in the slot form | string | — | — |
| model-value / v-model | Should Drawer be displayed | boolean | — | false |
| withHeader | Flag that controls the header section's existance, default to true, when withHeader set to false, both `title attribute` and `title slot` won't work | boolean | - | true |
| modal-class | Extra class names for shadowing layer | string | - | -
### Drawer Slot

View File

@ -279,7 +279,7 @@ Drawerは `destroyOnClose` というAPIを提供しています。これはフ
| title | Drawerのタイトルは、スロットの名前を指定して設定することもできます。 | string | — | — |
| model-value / v-model | Drawerを表示する場合は、 | boolean | — | false |
| withHeader | デフォルトは true で、withHeader が false に設定されている場合は `title attribute``title slot` の両方が動作しません。 | boolean | - | true |
| modal-class | シャドウレイヤーの追加クラス名 | string | — | — |
### Drawerスロット
| Name | Description |

View File

@ -279,7 +279,7 @@ Drawer has almost identical attributes as Dialog.
| title | Drawer 的标题,也可通过具名 slot (见下表)传入 | string | — | — |
| model-value / v-model | 是否显示 Drawer | boolean | — | false |
| withHeader | 控制是否显示 header 栏, 默认为 true, 当此项为 false 时, title attribute 和 title slot 均不生效 | boolean | - | true |
| modal-class | 遮罩层的自定义类名 | string | - | - |
### Drawer Slot
| name | 说明 |