mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-17 11:49:41 +08:00
docs(components): [drawer] remove duplicate value (#16084)
docs(components): [drawer] delete excess attributes
This commit is contained in:
parent
3e2189869c
commit
6c6a7c6240
@ -98,7 +98,7 @@ Drawer provides an API called `destroyOnClose`, which is a flag variable that in
|
||||
| custom-class ^(deprecated) | 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 | ^[enum]`'rtl' \| 'ltr' \| 'ttb' \| 'btt' \| 'rtl'` | rtl |
|
||||
| direction | Drawer's opening direction | ^[enum]`'rtl' \| 'ltr' \| 'ttb' \| 'btt'` | rtl |
|
||||
| show-close | Should show close button at the top right of Drawer | ^[boolean] | true |
|
||||
| size | Drawer's size, if Drawer is horizontal mode, it effects the width property, otherwise it effects the height property, when size is `number` type, it describes the size by unit of pixels; when size is `string` type, it should be used with `x%` notation, other wise it will be interpreted to pixel unit | ^[number] / ^[string] | 30% |
|
||||
| title | Drawer's title, can also be set by named slot, detailed descriptions can be found in the slot form | ^[string] | — |
|
||||
|
Loading…
Reference in New Issue
Block a user