feat(Popover): add click-overlay event (#8050)

This commit is contained in:
neverland
2021-01-31 18:43:18 +08:00
committed by GitHub
parent d27626ada2
commit 63227201ff
4 changed files with 30 additions and 14 deletions
+8 -7
View File
@@ -243,13 +243,14 @@ export default {
### Events
| 事件名 | 说明 | 回调参数 |
| ------ | ------------------------ | ------------------------------- |
| select | 点击选项时触发 | _action: Action, index: number_ |
| open | 打开菜单时触发 | - |
| close | 关闭菜单时触发 | - |
| opened | 打开菜单且动画结束后触发 | - |
| closed | 关闭菜单且动画结束后触发 | - |
| 事件名 | 说明 | 回调参数 |
| ------------- | ------------------------ | ------------------------------- |
| select | 点击选项时触发 | _action: Action, index: number_ |
| open | 打开菜单时触发 | - |
| close | 关闭菜单时触发 | - |
| opened | 打开菜单且动画结束后触发 | - |
| closed | 关闭菜单且动画结束后触发 | - |
| click-overlay | 点击遮罩层时触发 | - |
### Slots