Yunwoo Ji
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
components/drawer/index.en-US.md
-
components/drawer/index.zh-CN.md
|
|
@ -35,7 +35,7 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr |
|
|
|
| forceRender | Prerender Drawer component forcely | boolean | false | | |
|
|
|
| getContainer | Return the mounted node for Drawer | HTMLElement \| () => HTMLElement \| Selectors \| false | body | | |
|
|
|
| headerStyle | Style of the drawer header part | object | - | | |
|
|
|
| height | Placement is `top` or `bottom`, height of the Drawer dialog | string \| number | 256 | | |
|
|
|
| height | Placement is `top` or `bottom`, height of the Drawer dialog | string \| number | 378 | | |
|
|
|
| keyboard | Whether support press esc to close | boolean | true | | |
|
|
|
| mask | Whether to show mask or not | boolean | true | | |
|
|
|
| maskClosable | Clicking on the mask (area outside the Drawer) to close the Drawer or not | boolean | true | | |
|
|
|
|
|
@ -34,7 +34,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/7z8NJQhFb/Drawer.svg |
|
|
|
| forceRender | 预渲染 Drawer 内元素 | boolean | false | | |
|
|
|
| getContainer | 指定 Drawer 挂载的 HTML 节点, false 为挂载在当前 dom | HTMLElement \| () => HTMLElement \| Selectors \| false | body | | |
|
|
|
| headerStyle | 用于设置 Drawer 头部的样式 | CSSProperties | - | | |
|
|
|
| height | 高度, 在 `placement` 为 `top` 或 `bottom` 时使用 | string \| number | 256 | | |
|
|
|
| height | 高度, 在 `placement` 为 `top` 或 `bottom` 时使用 | string \| number | 378 | | |
|
|
|
| keyboard | 是否支持键盘 esc 关闭 | boolean | true | | |
|
|
|
| mask | 是否展示遮罩 | boolean | true | | |
|
|
|
| maskClosable | 点击蒙层是否允许关闭 | boolean | true | | |
|
|
|