From 3b549a642633d9b1836b06580acfc328c5ffbf7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Thu, 18 Aug 2022 12:01:11 +0200 Subject: [PATCH] Allow Modal to specify inline actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- src/components/Actions/Actions.vue | 1 + src/components/Modal/Modal.vue | 291 +++++++++++++++-------------- 2 files changed, 152 insertions(+), 140 deletions(-) diff --git a/src/components/Actions/Actions.vue b/src/components/Actions/Actions.vue index 3db2da305e..fcb310a74d 100644 --- a/src/components/Actions/Actions.vue +++ b/src/components/Actions/Actions.vue @@ -554,6 +554,7 @@ export default { /** * Display x items inline out of the dropdown menu + * Will be ignored if `forceMenu` is set */ inline: { type: Number, diff --git a/src/components/Modal/Modal.vue b/src/components/Modal/Modal.vue index 58e20d858f..fbde2a9c74 100644 --- a/src/components/Modal/Modal.vue +++ b/src/components/Modal/Modal.vue @@ -22,158 +22,159 @@ - ```vue - - - - ``` - - ### Modal with more properties - - ```vue - - - - ``` - - ### Usage of popover in modal - - * Set container property to .modal-mask to inject popover context of the modal: - - ```vue - - + +``` + +### Usage of popover in modal + +* Set container property to .modal-mask to inject popover context of the modal: + +```vue + + + - ``` - + select(emoji) { + this.emoji = emoji + }, + }, +} + +``` +