ElemeFE / ElemeFE/element

[Feature Request] Add "before-close" attribute to <el-popover>, just like <el-dialog>

Open
#21,211 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component

### Component Name
el-popover

### Description
` also need ":before-close" attribute, just like `

Then the source code can be written like below

```javascript

...
...

export default {
methods: {
handleClose(done) {
this.$confirm('confirm close?')
.then(_ => {
done();
})
.catch(_ => {});
}
}
};

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.