1.0.7 • Published 5 months ago

json-edit-vue3 v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

json-edit-vue3

DEMO

# install
npm run pre

# for vue 3.x app
npm run dev

How to use

# install
npm install json-edit-vue3 --save

# require
import jsonEdit from "json-edit-vue3";
import "json-edit-vue3/dist/style.css";

Type-Check, Compile and Minify for Production

npm run build

1703494029147

example

        <jsonEdit
              v-model:data="json"
              :theme="theme"
              :deep="deep"
              :iconStyle="iconStyle"
              :fontSize="fontSize"
              :lineHeight="lineHeight"
              :closed="closed"
              :iconColor="iconColor"
            />

prop

proptyperequiredescriptiondefault
dataObject、Arrayfalse{}
themeStringfalse主题 (one-dark、vs-code)default
deepNumberfalse展开深度3
iconStyleStringfalse折叠icon样式 (circle、triangle)square
fontSizeNumberfalse文字大小14
lineHeightNumberfalse行高24
closedBooleanfalse是否折叠false
iconColorArrayfalseicon颜色(打开/关闭),例"#747983", "#747983"()=>[]
isReadonlyBooleanfalse是否只读false
1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago