File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ English | [简体中文](./docs/README.zh-CN.md)
22
22
<a href =" https://github.com/cloydlau/json-editor-vue#develop " ><img alt =" PRs Welcome " src =" https://img.shields.io/badge/PRs-welcome-brightgreen.svg " ></a >
23
23
</p >
24
24
25
- <img width =" 49.738% " src =" ./docs/light -theme.png " alt =" light- theme" >  ; <img width =" 49.738% " src =" ./docs/dark-theme .png" alt =" dark-theme " >
25
+ <img width =" 49.738% " src =" ./docs/dark -theme.png " alt =" dark theme" >  ; <img width =" 49.738% " src =" https://raw.githubusercontent.com/josdejong/svelte-jsoneditor/main/misc/jsoneditor_table_mode_screenshot .png" alt =" table mode " >
26
26
27
27
<br >
28
28
@@ -707,7 +707,7 @@ Including the boolean properties of `svelte-jsoneditor` like `readOnly` with no
707
707
<a name =" Mode " ></a >
708
708
709
709
``` ts
710
- type Mode = ' tree' | ' text'
710
+ type Mode = ' tree' | ' text' | ' table '
711
711
` ` `
712
712
713
713
<br>
Original file line number Diff line number Diff line change 20
20
<a href =" https://github.com/cloydlau/json-editor-vue#develop " ><img alt =" PRs Welcome " src =" https://img.shields.io/badge/PRs-welcome-brightgreen.svg " ></a >
21
21
</p >
22
22
23
- <img width =" 49.738% " src =" ./light -theme.png " alt =" light- theme" >  ; <img width =" 49.738% " src =" ./dark-theme .png" alt =" dark-theme " >
23
+ <img width =" 49.738% " src =" ./dark -theme.png " alt =" dark theme" >  ; <img width =" 49.738% " src =" https://raw.githubusercontent.com/josdejong/svelte-jsoneditor/main/misc/jsoneditor_table_mode_screenshot .png" alt =" table mode " >
24
24
25
25
<br >
26
26
@@ -703,7 +703,7 @@ export default {
703
703
## 类型
704
704
705
705
``` ts
706
- type Mode = ' tree' | ' text'
706
+ type Mode = ' tree' | ' text' | ' table '
707
707
` ` `
708
708
709
709
<br>
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import { debounce } from 'lodash-es'
16
16
import { pascalCasedName as name } from '../package.json'
17
17
import { globalAttrs , globalProps } from './install'
18
18
19
- export type Mode = 'tree' | 'text'
19
+ export type Mode = 'tree' | 'text' | 'table'
20
20
21
21
const modelValueProp = isVue3 ? 'modelValue' : 'value'
22
22
const updateModelValue = isVue3 ? 'update:modelValue' : 'input'
You can’t perform that action at this time.
0 commit comments