File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr
18
18
## API
19
19
20
20
| Props | Description | Type | Default | Version |
21
- | --- | --- | --- | --- | --- | --- |
21
+ | --- | --- | --- | --- | --- |
22
22
| autoFocus | Whether Drawer should get focused after open | boolean | true | 3.0.0 |
23
23
| bodyStyle | Style of the drawer content part | CSSProperties | - | |
24
24
| className(old: wrapClassName) | The class name of the container of the Drawer dialog | string | - | 3.0.0 |
@@ -30,7 +30,7 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr
30
30
| extra | Extra actions area at corner | VNode \| slot | - | 3.0.0 |
31
31
| footer | The footer for Drawer | VNode \| slot | - | 3.0.0 |
32
32
| footerStyle | Style of the drawer footer part | CSSProperties | - | 3.0.0 |
33
- | forceRender | Prerender Drawer component forcely | boolean | - | false | 3.0.0 |
33
+ | forceRender | Prerender Drawer component forcely | boolean | false | 3.0.0 |
34
34
| getContainer | Return the mounted node for Drawer | HTMLElement \| ` () => HTMLElement ` \| Selectors | 'body' | |
35
35
| headerStyle | Style of the drawer header part | CSSProperties | - | 3.0.0 |
36
36
| height | Placement is ` top ` or ` bottom ` , height of the Drawer dialog | string \| number | 378 | |
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/7z8NJQhFb/Drawer.svg
18
18
## API
19
19
20
20
| 参数 | 说明 | 类型 | 默认值 | 版本 |
21
- | --- | --- | --- | --- | --- | --- |
21
+ | --- | --- | --- | --- | --- |
22
22
| autoFocus | 抽屉展开后是否将焦点切换至其 Dom 节点 | boolean | true | 3.0.0 |
23
23
| bodyStyle | 可用于设置 Drawer 内容部分的样式 | CSSProperties | - | |
24
24
| className(原 wrapClassName) | 对话框外层容器的类名 | string | - | 3.0.0 |
@@ -30,7 +30,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/7z8NJQhFb/Drawer.svg
30
30
| extra | 抽屉右上角的操作区域 | VNode \| slot | - | 3.0.0 |
31
31
| footer | 抽屉的页脚 | VNode \| slot | - | 3.0.0 |
32
32
| footerStyle | 抽屉页脚部件的样式 | CSSProperties | - | 3.0.0 |
33
- | forceRender | 预渲染 Drawer 内元素 | boolean | - | false | 3.0.0 |
33
+ | forceRender | 预渲染 Drawer 内元素 | boolean | false | 3.0.0 |
34
34
| getContainer | 指定 Drawer 挂载的 HTML 节点 | HTMLElement \| ` () => HTMLElement ` \| Selectors | 'body' | |
35
35
| headerStyle | 用于设置 Drawer 头部的样式 | CSSProperties | - | 3.0.0 |
36
36
| height | 高度, 在 ` placement ` 为 ` top ` 或 ` bottom ` 时使用 | string \| number | 378 | |
You can’t perform that action at this time.
0 commit comments