diff --git a/api-generator/components/dialog.js b/api-generator/components/dialog.js index 3f34c3254..066f1320d 100644 --- a/api-generator/components/dialog.js +++ b/api-generator/components/dialog.js @@ -138,6 +138,10 @@ const DialogEvents = [ name: "hide", description: "Callback to invoke when dialog is hidden." }, + { + name: "after-hide", + description: "Callback to invoke after dialog is hidden." + }, { name: "show", description: "Callback to invoke when dialog is showed." diff --git a/src/components/dialog/Dialog.d.ts b/src/components/dialog/Dialog.d.ts index f39fe354f..111a2e410 100755 --- a/src/components/dialog/Dialog.d.ts +++ b/src/components/dialog/Dialog.d.ts @@ -154,11 +154,15 @@ export declare type DialogEmits = { /** * Callback to invoke when dialog is hidden. */ - 'show': () => void; - /** - * Callback to invoke when dialog is showed. - */ 'hide': () => void; + /** + * Callback to invoke after dialog is hidden. + */ + 'after-hide': () => void; + /** + * Callback to invoke when dialog is shown. + */ + 'show': () => void; /** * Fired when a dialog gets maximized. * @param {event} event - Browser event. diff --git a/src/components/dialog/Dialog.vue b/src/components/dialog/Dialog.vue index 2d1f6c885..e3e434a5f 100755 --- a/src/components/dialog/Dialog.vue +++ b/src/components/dialog/Dialog.vue @@ -29,14 +29,15 @@