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 e0dba97 commit 587fa32Copy full SHA for 587fa32
README.md
@@ -1,2 +1,7 @@
1
# json-tree
2
-JSON tree view for Vue
+
3
+JSON tree view for Vue.
4
5
+[Demo | Docs](https://mathink12.github.io/json-tree/)
6
7
+
docs/.vuepress/components/JsonTreeDemo.vue
@@ -43,8 +43,11 @@
43
:json-data="jsonData"
44
:show-line="showLine"
45
:indent="indent"
46
- :expand-deep="deep"
47
- />
+ :expand-deep="deep">
+ <template v-if="toggle !== 'default'" #toggle="{ collapse }">
48
+ <i :class="calcToggleClass(collapse)"></i>
49
+ </template>
50
+ </JsonTree>
51
</div>
52
</template>
53
docs/imgs/json-tree.gif
156 KB
0 commit comments