diff --git a/src/dialog/Dialog.js b/src/dialog/Dialog.js index 7b0d2d3fd..8f587b964 100644 --- a/src/dialog/Dialog.js +++ b/src/dialog/Dialog.js @@ -73,6 +73,14 @@ export default createComponent({ if (this.callback) { this.callback(action); } + }, + + onOpened() { + this.$emit('opened'); + }, + + onClosed() { + this.$emit('closed'); } }, @@ -131,7 +139,11 @@ export default createComponent({ ); return ( - +