File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 34
34
<option :value =" 4" >4</option >
35
35
</select >
36
36
</div >
37
+ <div >
38
+ <label >deepCollapseChildren</label >
39
+ <input v-model =" deepCollapseChildren" type =" checkbox" />
40
+ </div >
37
41
</div >
38
42
</div >
39
43
<div class =" block" >
40
44
<h3 >vue-json-pretty:</h3 >
41
45
<vue-json-pretty
42
46
:data =" state.data"
43
47
:deep =" state.deep"
48
+ :deepCollapseChildren =" deepCollapseChildren"
44
49
:show-double-quotes =" state.showDoubleQuotes"
45
50
:show-length =" state.showLength"
46
51
:show-line =" state.showLine"
@@ -96,6 +101,7 @@ export default defineComponent({
96
101
collapsedOnClickBrackets: true ,
97
102
useCustomLinkFormatter: false ,
98
103
deep: 3 ,
104
+ deepCollapseChildren: false ,
99
105
});
100
106
101
107
const customLinkFormatter = (data , key , path , defaultFormatted ) => {
You can’t perform that action at this time.
0 commit comments