From 9073ce75abfcee9a04a6998b5c2484cd7966a79f Mon Sep 17 00:00:00 2001 From: lochstar Date: Tue, 18 Aug 2020 15:21:26 +1000 Subject: [PATCH] added 'dismissableMask' and 'closeOnEscape' props to Dialog - resolves #372 --- src/components/dialog/Dialog.d.ts | 4 +++- src/components/dialog/Dialog.vue | 16 ++++++++++++++-- src/views/dialog/DialogDoc.vue | 12 ++++++++++++ 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/src/components/dialog/Dialog.d.ts b/src/components/dialog/Dialog.d.ts index 82d7b7601..1e708c234 100755 --- a/src/components/dialog/Dialog.d.ts +++ b/src/components/dialog/Dialog.d.ts @@ -8,6 +8,8 @@ export declare class Dialog extends Vue { contentStyle?: string; rtl?: boolean; closable?: boolean; + dismissableMask?: boolean; + closeOnEscape?: boolean; showHeader?: boolean; baseZIndex?: number; autoZIndex?: boolean; @@ -21,4 +23,4 @@ export declare class Dialog extends Vue { header: VNode[]; footer: VNode[]; } -} \ No newline at end of file +} diff --git a/src/components/dialog/Dialog.vue b/src/components/dialog/Dialog.vue index 29bdc4934..457b9343c 100755 --- a/src/components/dialog/Dialog.vue +++ b/src/components/dialog/Dialog.vue @@ -1,7 +1,7 @@