2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-08 17:22:32 +03:00

Updated types

This commit is contained in:
Vikram Biwal
2022-01-07 16:23:33 +05:30
parent 0a7ec9241f
commit c4a3347976
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ export default {
'jv-key': true
},
domProps: {
innerText: this.showDoubleQuotes ? `"${this.keyName}":` : `${this.keyName}:`
innerText: this.showDoubleQuotes ? `"${this.keyName}":` : `${this.keyName}:`
}
}))
}
+2
View File
@@ -21,6 +21,7 @@ export default {
forceExpand: Boolean,
previewMode: Boolean,
showArrayIndex: Boolean,
showDoubleQuotes: Boolean,
},
data() {
return {
@@ -108,6 +109,7 @@ export default {
previewMode: this.previewMode,
forceExpand: this.forceExpand,
showArrayIndex: this.showArrayIndex,
showDoubleQuotes: this.showDoubleQuotes,
}
}))
})
+2
View File
@@ -21,6 +21,7 @@ export default {
sort: Boolean,
previewMode: Boolean,
showArrayIndex: Boolean,
showDoubleQuotes: Boolean,
},
data() {
return {
@@ -119,6 +120,7 @@ export default {
previewMode: this.previewMode,
forceExpand: this.forceExpand,
showArrayIndex: this.showArrayIndex,
showDoubleQuotes: this.showDoubleQuotes,
}
}))
}