This repository was archived by the owner on Mar 17, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ A classic modal overlay, in which you can include any content you want.
6
6
<v-button @click ="open('modal1')" appearance="primary">Open modal 1</v-button >
7
7
<v-modal : open ="modal1" @close ="close('modal1')" title="Modal 1">
8
8
Modal content
9
- <template slot = " footer " >
10
- <v-button @ click ="close('modal1')" appearance="subtle ">
11
- Close
12
- </v-button >
13
- <v-button appearance = " primary " >Apply changes</ v-button >
9
+ <template v- slot: footer >
10
+ <div class = " flex flex-justify-end " >
11
+ <v-button class="mr-2" @ click ="close('modal1')" appearance="subtle"> Close</ v-button >
12
+ < v-button appearance = " primary " >Apply changes </v-button >
13
+ </ div >
14
14
</template >
15
15
</v-modal >
16
16
</div >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<transition name =" modal" @after-enter =" onEnter" @after-leave =" onLeave" >
3
- <div class =" modal modal__mask" v-show =" open" :role =" role" :class =" classes" >
3
+ <div class =" modal modal__mask" v-if =" open" :role =" role" :class =" classes" >
4
4
<div ref =" backdrop" class =" modal__wrapper" @click =" dismissOnBackdrop && close($event)" >
5
5
<div
6
6
ref =" container"
You can’t perform that action at this time.
0 commit comments