File tree Expand file tree Collapse file tree 10 files changed +55
-7
lines changed Expand file tree Collapse file tree 10 files changed +55
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const emit = defineEmits<{
10
10
<VBottomSheet
11
11
@update:model-value =" val => emit('update:modelValue', val)"
12
12
>
13
- <div class =" flex justify-center items-center h-60 bg-primary-100" >
13
+ <div class =" flex justify-center items-center h-60 bg-primary-100 dark:bg-gray-800 " >
14
14
<VButton @click =" emit('update:modelValue', false)" >
15
15
Close
16
16
</VButton >
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ function dragResize(newRect) {
31
31
:is-active =" true"
32
32
:w =" 200"
33
33
:h =" 200"
34
+ class =" bg-primary-100 dark:bg-gray-800"
34
35
@resizing =" dragResize"
35
36
@dragging =" dragResize"
36
37
>
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const emit = defineEmits<{
8
8
9
9
<template >
10
10
<VFullScreen
11
- full-screen-class =" bg-primary-50"
11
+ full-screen-class =" bg-primary-50 dark:bg-gray-800 "
12
12
@update:model-value =" val => emit('update:modelValue', val)"
13
13
>
14
14
<h1 class =" text-primary text-lg" >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ head.title: 'Playground | Examples'
9
9
:playground
10
10
::
11
11
12
- :: code-block { label =" Playground .vue" }
12
+ :: code-block { label =" Preview .vue" }
13
13
:code-block-file{path="./Playground.vue" language="vue"}
14
14
::
15
15
::
Original file line number Diff line number Diff line change @@ -5,6 +5,14 @@ head.title: 'Confirm Modal | Examples'
5
5
# Confirm Modal
6
6
7
7
:: code-group
8
+ :: code-block { label =" ConfirmModal.vue " }
9
+ :code-block-file{path="./ConfirmModal.vue" language="vue"}
10
+ ::
11
+
12
+ :: code-block { label =" Preview.vue " }
13
+ :code-block-file{path="./ConfirmModalPreview.vue" language="vue"}
14
+ ::
15
+
8
16
:: code-block { label =" Preview " preview }
9
17
::confirm-modal-preview
10
18
::
Original file line number Diff line number Diff line change @@ -9,7 +9,15 @@ A example that use form component in vue-final-modal.
9
9
This example use [ Vorms] ( https://vorms.mini-ghost.dev/ ) to handle the form validate.
10
10
11
11
:: code-group
12
+ :: code-block { label =" FormModal.vue " }
13
+ :code-block-file{path="./FormModal.vue" language="vue"}
14
+ ::
15
+
16
+ :: code-block { label =" Preview.vue " }
17
+ :code-block-file{path="./FormModalPreview.vue" language="vue"}
18
+ ::
19
+
12
20
:: code-block { label =" Preview " preview }
13
- :: form-modal-preview
21
+ :form-modal-preview
14
22
::
15
23
::
Original file line number Diff line number Diff line change @@ -5,7 +5,15 @@ head.title: 'Nested Modal | Examples'
5
5
# Nested Modal
6
6
7
7
:: code-group
8
+ :: code-block { label =" ConfirmModal.vue " }
9
+ :code-block-file{path="./ConfirmModal.vue" language="vue"}
10
+ ::
11
+
12
+ :: code-block { label =" NestedModalPreview.vue " }
13
+ :code-block-file{path="./NestedModalPreview.vue" language="vue"}
14
+ ::
15
+
8
16
:: code-block { label =" Preview " preview }
9
- :: nested-modal-preview
17
+ :nested-modal-preview
10
18
::
11
19
::
Original file line number Diff line number Diff line change @@ -5,8 +5,15 @@ head.title: 'Full Screen Modal | Examples'
5
5
# Full Screen Modal
6
6
7
7
:: code-group
8
+ :: code-block { label =" FullScreen.vue " }
9
+ :code-block-file{path="./FullScreen.vue" language="vue"}
10
+ ::
11
+
12
+ :: code-block { label =" FullScreenPreview.vue " }
13
+ :code-block-file{path="./FullScreenPreview.vue" language="vue"}
14
+ ::
15
+
8
16
:: code-block { label =" Preview " preview }
9
- ::full-screen-preview
10
- ::
17
+ :full-screen-preview
11
18
::
12
19
::
Original file line number Diff line number Diff line change @@ -5,6 +5,14 @@ head.title: 'Bottom Sheet Modal | Examples'
5
5
# Bottom Sheet Modal
6
6
7
7
:: code-group
8
+ :: code-block { label =" BottomSheet.vue " }
9
+ :code-block-file{path="./BottomSheet.vue" language="vue"}
10
+ ::
11
+
12
+ :: code-block { label =" BottomSheetPreview.vue " }
13
+ :code-block-file{path="./BottomSheetPreview.vue" language="vue"}
14
+ ::
15
+
8
16
:: code-block { label =" Preview " preview }
9
17
::bottom-sheet-preview
10
18
::
Original file line number Diff line number Diff line change @@ -9,6 +9,14 @@ A drag and resize modal example.
9
9
Here is a basic drag and resize modal example that using [ vue3-drag-resize] ( https://github.com/kirillmurashov/vue-drag-resize/tree/vue3 ) .
10
10
11
11
:: code-group
12
+ :: code-block { label =" DragResizeModal.vue " }
13
+ :code-block-file{path="./DragResizeModal.vue" language="vue"}
14
+ ::
15
+
16
+ :: code-block { label =" DragResizeModalPreview.vue " }
17
+ :code-block-file{path="./DragResizeModalPreview.vue" language="vue"}
18
+ ::
19
+
12
20
:: code-block { label =" Preview " preview }
13
21
::drag-resize-modal-preview
14
22
::
You can’t perform that action at this time.
0 commit comments