File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -510,11 +510,13 @@ export default {
510
510
511
511
## Props
512
512
513
- | Name | Description | Type | Default |
514
- | ------- | --------------------------------------------------------------------------------------------- | ------------------ | -------- |
515
- | v-model | binding value | ` any ` | |
516
- | mode | edit mode, <br >use ` v-model:mode ` in Vue 3 <br >or ` :mode.sync ` in Vue 2 | ` 'tree' ` , ` 'text' ` | ` 'tree' ` |
517
- | ... | properties of [ svelte-jsoneditor] ( https://github.com/josdejong/svelte-jsoneditor/#properties ) | | |
513
+ | Name | Description | Type | Default |
514
+ | ------- | --------------------------------------------------------------------------------------------- | ------------- | -------- |
515
+ | v-model | binding value | ` any ` | |
516
+ | mode | edit mode, <br >use ` v-model:mode ` in Vue 3 <br >or ` :mode.sync ` in Vue 2 | [ Mode] ( #Mode ) | ` 'tree' ` |
517
+ | ... | properties of [ svelte-jsoneditor] ( https://github.com/josdejong/svelte-jsoneditor/#properties ) | | |
518
+
519
+ > ⚠ kebab-case is required for tag & prop name when using from CDN
518
520
519
521
### Binding value difference between ` svelte-jsoneditor ` and ` json-editor-vue `
520
522
@@ -541,8 +543,6 @@ Including the boolean properties of `svelte-jsoneditor` like `readOnly` with no
541
543
542
544
- ✔️ ` <JsonEditorVue :readOnly="true" /> `
543
545
544
- > kebab-case is required for tag & prop name when using via CDN
545
-
546
546
<br >
547
547
548
548
## Expose
@@ -555,6 +555,8 @@ Including the boolean properties of `svelte-jsoneditor` like `readOnly` with no
555
555
556
556
## Types
557
557
558
+ <a name =" Mode " ></a >
559
+
558
560
``` ts
559
561
type Mode = ' tree' | ' text'
560
562
` ` `
You can’t perform that action at this time.
0 commit comments