【文件属性】:
文件名称:json-as-form:将JSON编辑为表单
文件大小:199KB
文件格式:ZIP
更新时间:2021-05-19 19:06:12
json form JavaScript
json-as-form
像表单一样编辑JSON
多功能JSON编辑工具,可将JSON对象编辑为直观的类似JSON的表单。
npm i / yarn add
现场演示
用法
import JSONForm from "json-as-form" ;
< JSONForm xss=removed xss=removed xss=removed> console . log ( data ) }
autoAddRow = { true }
debug = { false }
rowInterpolator = { row => {
if ( row . value ) row . value = row . value . toLowerCase ( )
return row
} }
/ >
道具
名称
【文件预览】:
json-as-form-master
----.gitignore(920B)
----README.md(2KB)
----LICENSE(1KB)
----package.json(1KB)
----dist()
--------index.js.map(83KB)
--------index.js(44KB)
----src()
--------index.css(1KB)
--------Row.js(4KB)
--------index.js(5KB)
----.babelrc(145B)
----example()
--------app.js(2KB)
--------index.js.map(86KB)
--------index.js(47KB)
--------index.html(236B)
----webpack.config.js(1KB)
----yarn.lock(300KB)