This repository was archived by the owner on Feb 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ Here is the <a href="https://hoiheart.github.io/vue-diff/demo/index.html" target
36
36
* Support multiple languages and can be extended
37
37
* Support two themes (dark / light) and can be customized
38
38
* Virtual scroll for large text comparison
39
+ * Folding view (* Partial folding is not supported* )
39
40
40
41
## Install plugin
41
42
@@ -93,6 +94,7 @@ Insert the diff component with props.
93
94
:language="language"
94
95
:prev="prev"
95
96
:current="current"
97
+ :folding="folding"
96
98
:input-delay="0"
97
99
:virtual-scroll="{ height: 500, lineMinHeight: 24, delay: 100 }"
98
100
/>
@@ -108,6 +110,7 @@ Insert the diff component with props.
108
110
| language | ` string ` | ` plaintext ` | | See <a href =" #extend-languages " >Extend languages</a >
109
111
| prev | ` string ` | ` '' ` | | Prev code |
110
112
| current | ` string ` | ` '' ` | | Current Code |
113
+ | folding | ` boolean ` | ` false ` | | Folding not different |
111
114
| inputDelay | ` number ` | ` 0 ` | | Setting up rendering debounce for changes for performance benefit (mode, prev, curr) |
112
115
| virtualScroll | ` boolean\|object ` | ` false ` | | * Default value when setting true :* <br >` { height: 500, lineMinHeight: 24, delay: 100 } ` <br >See <a href =" #virtual-scroll " >virtual scroll</a > |
113
116
You can’t perform that action at this time.
0 commit comments