Browse Source

docs: update description of afterOpenChange api (#41263)

pull/41265/head
muxin 2 years ago
committed by GitHub
parent
commit
2a7541b682
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/modal/index.en-US.md
  2. 2
      components/modal/index.zh-CN.md

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

@ -70,7 +70,7 @@ Additionally, if you need show a simple confirmation dialog, you can use [`App.u
| zIndex | The `z-index` of the Modal | number | 1000 | |
| onCancel | Specify a function that will be called when a user clicks mask, close button on top right or Cancel button | function(e) | - | |
| onOk | Specify a function that will be called when a user clicks the OK button | function(e) | - | |
| afterOpenChange | Callback when the animation ends when Modal is turned on and off | (open: boolean) => void | - | 5.3.2 |
| afterOpenChange | Callback when the animation ends when Modal is turned on and off | (open: boolean) => void | - | 5.4.0 |
#### Note

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

@ -71,7 +71,7 @@ demo:
| zIndex | 设置 Modal 的 `z-index` | number | 1000 | |
| onCancel | 点击遮罩层或右上角叉或取消按钮的回调 | function(e) | - | |
| onOk | 点击确定回调 | function(e) | - | |
| afterOpenChange | 打开和关闭 Modal 时动画结束后的回调 | (open: boolean) => void | - | 5.3.2 |
| afterOpenChange | 打开和关闭 Modal 时动画结束后的回调 | (open: boolean) => void | - | 5.4.0 |
#### 注意

Loading…
Cancel
Save