diff --git a/api-generator/components/dialog.js b/api-generator/components/dialog.js index 89283f007..af65a6b68 100644 --- a/api-generator/components/dialog.js +++ b/api-generator/components/dialog.js @@ -163,7 +163,18 @@ const DialogEvents = [ }, { name: "unmaximize", - description: "Fire when a dialog gets unmaximized.", + description: "Fired when a dialog gets unmaximized.", + arguments: [ + { + name: "event", + type: "object", + description: "Event Object" + } + ] + }, + { + name: "dragend", + description: "Fired when a dialog drag completes.", arguments: [ { name: "event", diff --git a/src/components/dialog/Dialog.d.ts b/src/components/dialog/Dialog.d.ts index 7e7351db1..ce5cb3402 100755 --- a/src/components/dialog/Dialog.d.ts +++ b/src/components/dialog/Dialog.d.ts @@ -30,6 +30,7 @@ declare class Dialog { $emit(eventName: 'hide'): this; $emit(eventName: 'maximize'): this; $emit(eventName: 'unmaximize'): this; + $emit(eventName: 'dragend'): this; $slots: { '': VNode[]; header: VNode[]; diff --git a/src/views/dialog/DialogDoc.vue b/src/views/dialog/DialogDoc.vue index e9bd595e3..032ce420f 100755 --- a/src/views/dialog/DialogDoc.vue +++ b/src/views/dialog/DialogDoc.vue @@ -255,7 +255,12 @@ export default { unmaximize event: Event object - Fire when a dialog gets unmaximized. + Fired when a dialog gets unmaximized. + + + dragend + event: Event object + Fired when a dialog drag completes..