File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -1449,7 +1449,8 @@ export default {
1449
1449
this.$emit('update:open', false)
1450
1450
1451
1451
/**
1452
- * Event emitted when the popover menu is closed
1452
+ * Event emitted when the popover menu is *being* closed.
1453
+ * @deprecated use `update:open` instead. This is always emitted the same time as `('update:open', false)`
1453
1454
*/
1454
1455
this.$emit('close')
1455
1456
@@ -1462,6 +1463,15 @@ export default {
1462
1463
}
1463
1464
},
1464
1465
1466
+ onClosed() {
1467
+ /**
1468
+ * Event emitted when the popover menu is closed.
1469
+ *
1470
+ * This event is emitted after `update:open` was emitted and the closing transition finished.
1471
+ */
1472
+ this.$emit('closed')
1473
+ },
1474
+
1465
1475
/**
1466
1476
* Called when popover is shown after the show delay
1467
1477
*/
@@ -1922,6 +1932,7 @@ export default {
1922
1932
show: this.openMenu,
1923
1933
'apply-show': this.onOpen,
1924
1934
hide: this.closeMenu,
1935
+ 'apply-hide': this.onClosed,
1925
1936
},
1926
1937
},
1927
1938
[
You can’t perform that action at this time.
0 commit comments