Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit d17f8a2

Browse files
committed
chore: README
1 parent 80220f8 commit d17f8a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Here is the <a href="https://hoiheart.github.io/vue-diff/demo/index.html" target
3636
* Support multiple languages and can be extended
3737
* Support two themes (dark / light) and can be customized
3838
* Virtual scroll for large text comparison
39+
* Folding view (*Partial folding is not supported*)
3940

4041
## Install plugin
4142

@@ -93,6 +94,7 @@ Insert the diff component with props.
9394
:language="language"
9495
:prev="prev"
9596
:current="current"
97+
:folding="folding"
9698
:input-delay="0"
9799
:virtual-scroll="{ height: 500, lineMinHeight: 24, delay: 100 }"
98100
/>
@@ -108,6 +110,7 @@ Insert the diff component with props.
108110
| language | `string` | `plaintext` | | See <a href="#extend-languages">Extend languages</a>
109111
| prev | `string` | `''` | | Prev code |
110112
| current | `string` | `''` | | Current Code |
113+
| folding | `boolean` | `false` | | Folding not different |
111114
| inputDelay | `number` | `0` | | Setting up rendering debounce for changes for performance benefit (mode, prev, curr) |
112115
| 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> |
113116

0 commit comments

Comments
 (0)