mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 04:37:47 +08:00
docs: drawer.md add modal-class attribute (#1974)
This commit is contained in:
parent
0bb128315b
commit
27e8616739
@ -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 | — | — |
|
| 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 |
|
| 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 |
|
| 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
|
### Drawer Slots
|
||||||
|
|
||||||
|
@ -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 | — | — |
|
| 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 |
|
| 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 |
|
| 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
|
### Drawer Slot's
|
||||||
|
|
||||||
|
@ -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 | — | — |
|
| 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 |
|
| 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 |
|
| 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
|
### Drawer Slot
|
||||||
|
|
||||||
|
@ -279,7 +279,7 @@ Drawerは `destroyOnClose` というAPIを提供しています。これはフ
|
|||||||
| title | Drawerのタイトルは、スロットの名前を指定して設定することもできます。 | string | — | — |
|
| title | Drawerのタイトルは、スロットの名前を指定して設定することもできます。 | string | — | — |
|
||||||
| model-value / v-model | Drawerを表示する場合は、 | boolean | — | false |
|
| model-value / v-model | Drawerを表示する場合は、 | boolean | — | false |
|
||||||
| withHeader | デフォルトは true で、withHeader が false に設定されている場合は `title attribute` と `title slot` の両方が動作しません。 | boolean | - | true |
|
| withHeader | デフォルトは true で、withHeader が false に設定されている場合は `title attribute` と `title slot` の両方が動作しません。 | boolean | - | true |
|
||||||
|
| modal-class | シャドウレイヤーの追加クラス名 | string | — | — |
|
||||||
### Drawerスロット
|
### Drawerスロット
|
||||||
|
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
|
@ -279,7 +279,7 @@ Drawer has almost identical attributes as Dialog.
|
|||||||
| title | Drawer 的标题,也可通过具名 slot (见下表)传入 | string | — | — |
|
| title | Drawer 的标题,也可通过具名 slot (见下表)传入 | string | — | — |
|
||||||
| model-value / v-model | 是否显示 Drawer | boolean | — | false |
|
| model-value / v-model | 是否显示 Drawer | boolean | — | false |
|
||||||
| withHeader | 控制是否显示 header 栏, 默认为 true, 当此项为 false 时, title attribute 和 title slot 均不生效 | boolean | - | true |
|
| withHeader | 控制是否显示 header 栏, 默认为 true, 当此项为 false 时, title attribute 和 title slot 均不生效 | boolean | - | true |
|
||||||
|
| modal-class | 遮罩层的自定义类名 | string | - | - |
|
||||||
### Drawer Slot
|
### Drawer Slot
|
||||||
|
|
||||||
| name | 说明 |
|
| name | 说明 |
|
||||||
|
Loading…
Reference in New Issue
Block a user