mirror of
https://github.com/tenrok/vue-json-viewer.git
synced 2026-06-20 20:00:37 +03:00
feat: Add PreviewMode
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
ref="jsonBox"
|
||||
:value="value"
|
||||
:sort="sort"
|
||||
:preview-mode="previewMode"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
@@ -83,6 +84,10 @@ export default {
|
||||
timeformat: {
|
||||
type: Function,
|
||||
default: value => value.toLocaleString(),
|
||||
},
|
||||
previewMode: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
}
|
||||
},
|
||||
provide () {
|
||||
|
||||
Reference in New Issue
Block a user