mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 19:28:14 +08:00
docs: update drawer doc deprecated custom-class (#10744)
This commit is contained in:
parent
ff2c984d12
commit
a389b80e3e
@ -87,7 +87,7 @@ Drawer provides an API called `destroyOnClose`, which is a flag variable that in
|
||||
| close-on-press-escape | Indicates whether Drawer can be closed by pressing ESC | boolean | — | true |
|
||||
| open-delay | Time(milliseconds) before open | number | — | 0 |
|
||||
| close-delay | Time(milliseconds) before close | number | — | 0 |
|
||||
| custom-class | Extra class names for Drawer | string | — | — |
|
||||
| custom-class <DeprecatedTag />| Extra class names for Drawer | string | — | — |
|
||||
| destroy-on-close | Indicates whether children should be destroyed after Drawer closed | boolean | - | false |
|
||||
| modal | Should show shadowing layer | boolean | — | true |
|
||||
| direction | Drawer's opening direction | Direction | rtl / ltr / ttb / btt | rtl |
|
||||
@ -98,6 +98,11 @@ Drawer provides an API called `destroyOnClose`, which is a flag variable that in
|
||||
| modal-class | Extra class names for shadowing layer | string | - | - |
|
||||
| z-index | set z-index | number | - | - |
|
||||
|
||||
:::warning
|
||||
|
||||
`custom-class` has been **deprecated**, and **will be** removed in<VersionTag version="2.3.0" />, please use `class`.
|
||||
|
||||
:::
|
||||
## Drawer Slots
|
||||
|
||||
| Name | Description |
|
||||
|
Loading…
Reference in New Issue
Block a user