Browse Source

docs(drawer): fix typo (#6736)

pull/6757/head
Simon He 1 year ago committed by GitHub
parent
commit
4ea318be30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/drawer/index.en-US.md
  2. 2
      components/drawer/index.zh-CN.md

2
components/drawer/index.en-US.md

@ -54,7 +54,7 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr
## Events
| Name | Description | Type | Default | Version |
| Events Name | Description | Type | Default | Version |
| --- | --- | --- | --- | --- |
| afterOpenChange | Callback after the animation ends when switching drawers. | function(open) | - | 4.0 |
| close | Specify a callback that will be called when a user clicks mask, close button or Cancel button. | function(e) | - | |

2
components/drawer/index.zh-CN.md

@ -53,7 +53,7 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*4wzwRIBLuqEAAA
## 事件
| 名称 | 描述 | 类型 | 默认值 | 版本 |
| 事件名称 | 描述 | 类型 | 默认值 | 版本 |
| --------------- | ------------------------------------ | -------------- | ------ | ---- |
| afterOpenChange | 切换抽屉时动画结束后的回调 | function(open) | 无 | 4.0 |
| close | 点击遮罩层或左上角叉或取消按钮的回调 | function(e) | 无 | |

Loading…
Cancel
Save