We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a2ae64 commit dbbe96fCopy full SHA for dbbe96f
example/App.vue
@@ -33,6 +33,9 @@
33
</select>
34
<label>path</label>
35
<input type="text" v-model="path">
36
+ <label>showLength</label>
37
+ <input type="checkbox" v-model="showLength">
38
+ <label for="checkbox">{{ showLength }}</label>
39
</div>
40
41
<h3>Latest Click Result:</h3>
@@ -44,6 +47,7 @@
44
47
<vue-json-pretty
45
48
:data="json"
46
49
:path="path"
50
+ :show-length="showLength"
51
:path-checked="['res', 'res.c']"
52
:path-selectable="((path, data) => typeof data !== 'number')"
53
:selectable-type="selectableType"
@@ -84,6 +88,7 @@ export default {
84
88
}]
85
89
},
86
90
selectableType: 'both',
91
+ showLength: false,
87
92
path: 'res',
93
deep: 3,
94
itemData: {},
0 commit comments