File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<v-bottom-sheet
3
- v-model = " layer "
3
+ :value = " value "
4
4
persistent
5
5
scrollable
6
6
no-click-animation
7
7
:fullscreen =" fullscreen"
8
+ @input =" $emit('input', $event)"
8
9
>
9
10
<v-card class =" Layer" >
10
11
<v-card-title class =" Layer-CardElements Layer-CardTitle" >
32
33
<script lang="ts">
33
34
import Vue from ' vue'
34
35
35
- type DataType = {
36
- layer: boolean
37
- }
38
-
39
36
export default Vue .extend ({
40
37
props: {
41
- expanded : {
38
+ value : {
42
39
type: Boolean ,
43
40
required: false ,
44
41
default: true
@@ -56,16 +53,6 @@ export default Vue.extend({
56
53
required: false ,
57
54
default: false
58
55
}
59
- },
60
- data(): DataType {
61
- return {
62
- layer: this .expanded
63
- }
64
- },
65
- watch: {
66
- expanded(newValue ) {
67
- this .layer = newValue
68
- }
69
56
}
70
57
})
71
58
</script >
You can’t perform that action at this time.
0 commit comments