File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 28
28
<slot name =" footer" >
29
29
<button
30
30
type =" button"
31
- class =" btn btn-secondary"
31
+ class =" btn btn-secondary"
32
32
@click =" hide($event)"
33
33
>
34
34
Cancel
@@ -65,6 +65,7 @@ export default {
65
65
props: {
66
66
show: Boolean ,
67
67
centered: Boolean ,
68
+ scrollable: Boolean ,
68
69
title: String ,
69
70
size: {
70
71
type: String ,
@@ -118,6 +119,7 @@ export default {
118
119
' modal-dialog' ,
119
120
{
120
121
' modal-dialog-centered' : this .centered ,
122
+ ' modal-dialog-scrollable' : this .scrollable ,
121
123
[` modal-${ this .size } ` ]: this .size
122
124
}
123
125
]
@@ -149,7 +151,7 @@ export default {
149
151
hide (e , accept = false ) {
150
152
this .$emit (' update:show' , false , e, accept)
151
153
if (this .visible ){
152
- window .removeEventListener (" keydown" , this .hideEsc );
154
+ window .removeEventListener (" keydown" , this .hideEsc );
153
155
}
154
156
},
155
157
hideEsc (event ){
You can’t perform that action at this time.
0 commit comments