Skip to content

Commit

Permalink
Unify type declaration. (#19610)
Browse files Browse the repository at this point in the history
  • Loading branch information
acmu authored and afc163 committed Nov 7, 2019
1 parent 9e27697 commit a35b624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/drawer/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ title: Drawer
| destroyOnClose | 关闭时销毁 Drawer 里的子元素 | boolean | false | 3.7.0 |
| getContainer | 指定 Drawer 挂载的 HTML 节点, false 为挂载在当前 dom | HTMLElement \| `() => HTMLElement` \| Selectors \| false | 'body' | 3.7.0 |
| maskClosable | 点击蒙层是否允许关闭 | boolean | true | 3.7.0 |
| mask | 是否展示遮罩 | Boolean | true | 3.7.0 |
| mask | 是否展示遮罩 | boolean | true | 3.7.0 |
| maskStyle | 遮罩样式 | object | {} | 3.7.0 |
| style | 可用于设置 Drawer 最外层容器的样式,和 `drawerStyle` 的区别是作用节点包括 `mask` | object | - | 3.7.0 |
| drawerStyle | 用于设置 Drawer 弹出层的样式 | object | - | 3.24.0 |
Expand All @@ -33,7 +33,7 @@ title: Drawer
| width | 宽度 | string \| number | 256 | 3.7.0 |
| height | 高度, 在 `placement``top``bottom` 时使用 | string \| number | 256 | 3.9.0 |
| className | 对话框外层容器的类名 | string | - | 3.8.0 |
| zIndex | 设置 Drawer 的 `z-index` | Number | 1000 | 3.7.0 |
| zIndex | 设置 Drawer 的 `z-index` | number | 1000 | 3.7.0 |
| placement | 抽屉的方向 | 'top' \| 'right' \| 'bottom' \| 'left' | 'right' | 3.7.0 |
| onClose | 点击遮罩层或右上角叉或取消按钮的回调 | function(e) || 3.7.0 |
| afterVisibleChange | 切换抽屉时动画结束后的回调 | function(visible) || 3.17.0 |
Expand Down

0 comments on commit a35b624

Please sign in to comment.