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)
2222 <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 >
2323</p >
2424
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 " >
2626
2727<br >
2828
@@ -707,7 +707,7 @@ Including the boolean properties of `svelte-jsoneditor` like `readOnly` with no
707707<a name =" Mode " ></a >
708708
709709``` ts
710- type Mode = ' tree' | ' text'
710+ type Mode = ' tree' | ' text' | ' table '
711711` ` `
712712
713713<br>
Original file line number Diff line number Diff line change 2020 <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 >
2121</p >
2222
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 " >
2424
2525<br >
2626
@@ -703,7 +703,7 @@ export default {
703703## 类型
704704
705705``` ts
706- type Mode = ' tree' | ' text'
706+ type Mode = ' tree' | ' text' | ' table '
707707` ` `
708708
709709<br>
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import { debounce } from 'lodash-es'
1616import { pascalCasedName as name } from '../package.json'
1717import { globalAttrs , globalProps } from './install'
1818
19- export type Mode = 'tree' | 'text'
19+ export type Mode = 'tree' | 'text' | 'table'
2020
2121const modelValueProp = isVue3 ? 'modelValue' : 'value'
2222const updateModelValue = isVue3 ? 'update:modelValue' : 'input'
You can’t perform that action at this time.
0 commit comments