mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-11-21 01:13:16 +08:00
docs(drawer): Fix wrong prop name (#4382)
This commit is contained in:
parent
9252db0677
commit
c3f05b2a48
@ -39,7 +39,8 @@ resizable.vue
|
||||
| scrollbar-props | `object` | `undefined` | 属性参考 [Scrollbar props](scrollbar#Scrollbar-Props) | |
|
||||
| show | `boolean` | `false` | Whether to show drawer. | |
|
||||
| show-mask | `boolean` | `true` | Whether to show mask. If set to `'transparent'`, transparent mask would be shown. If set to false, `trap-focus` will be disabled. | 2.28.3 |
|
||||
| style | `string \| Object` | `undefined` | Style of the drawer. | |
|
||||
| drawer-style | `string \| Object` | `undefined` | Style of the drawer. | |
|
||||
| drawer-class | `string` | `undefined` | Class of the drawer. | |
|
||||
| to | `string \| HTMLElement` | `'body'` | Container node of the drawer. | |
|
||||
| trap-focus | `boolean` | `true` | Whether to trap focus inside drawer. | 2.24.2 |
|
||||
| width | `number \| string` | `undefined` | Works when placement is `left` and `right`. | |
|
||||
|
@ -46,7 +46,8 @@ rtl-debug.vue
|
||||
| scrollbar-props | `object` | `undefined` | 属性参考 [Scrollbar props](scrollbar#Scrollbar-Props) | |
|
||||
| show | `boolean` | `false` | 是否展示抽屉 | |
|
||||
| show-mask | `boolean \| 'transparent'` | `true` | 是否显示遮罩,如果设为 `'transparent'` 会展示透明遮罩,如果设为 `false` 会禁用 `trap-focus` | 2.28.3 |
|
||||
| style | `string \| Object` | `undefined` | 抽屉的样式 | |
|
||||
| drawer-style | `string \| Object` | `undefined` | 抽屉的样式 | |
|
||||
| drawer-class | `string` | `undefined` | 抽屉的class | |
|
||||
| to | `string \| HTMLElement` | `'body'` | 抽屉出现的区域 | |
|
||||
| trap-focus | `boolean` | `true` | 是否将焦点锁定在 Drawer 内部 | 2.24.2 |
|
||||
| width | `number \| string` | `undefined` | 抽屉的宽度,在位置是 `left` 和 `right` 时生效 | |
|
||||
|
Loading…
Reference in New Issue
Block a user