feat(SwipeCell): add open event (#4986)
This commit is contained in:
@@ -59,6 +59,11 @@ export default createComponent({
|
||||
const offset = position === 'left' ? this.computedLeftWidth : -this.computedRightWidth;
|
||||
this.swipeMove(offset);
|
||||
this.resetSwipeStatus();
|
||||
|
||||
this.$emit('open', {
|
||||
position,
|
||||
detail: this.name
|
||||
});
|
||||
},
|
||||
|
||||
close() {
|
||||
|
||||
Reference in New Issue
Block a user