json-viewer:Web组件以树状视图可视化JSON数据

时间:2021-05-06 16:42:48
【文件属性】:
文件名称:json-viewer:Web组件以树状视图可视化JSON数据
文件大小:189KB
文件格式:ZIP
更新时间:2021-05-06 16:42:48
json json-viewer json-tree jsonviewer webcomponent 一个Web组件,以树状视图可视化JSON数据 安装 npm i @alenaksu/json-viewer 然后将包导入到您的项目中。 import '@alenaksu/json-viewer' ; 用法 < json> 属性 data - JSON对象的字符串表示来负载 特性 data -获取/设置JSON对象 方法 filter (regexOrPath: RegExp|string) => void | 只保留符合给定条件的节点 resetFilter () => void | 清除筛选 expand (regexOrPath: RegExp|string) => void | 展开所有符合给定条件的节点 expandAll () => void | expand('**')别名 collapse (regexOrPath:
【文件预览】:
json-viewer-master
----.gitignore(1KB)
----.babelrc(128B)
----package.json(2KB)
----.htmlnanorc(25B)
----website()
--------index.js(3KB)
--------codemirror-custom.css(2KB)
--------eye-solid.svg(549B)
--------index.html(3KB)
--------worker.js(7KB)
--------eye-slash-solid.svg(966B)
--------styles.css(4KB)
----package-lock.json(492KB)
----src()
--------index.js(4KB)
--------utils.js(3KB)
--------stateChange.js(1KB)
--------styles.css(2KB)
----.nvmrc(9B)
----build()
--------index.js(12KB)
--------index.js.map(46KB)
----LICENSE(1KB)
----rollup.config.js(1KB)
----.prettierignore(15B)
----README.md(3KB)
----docs()
--------index.2390599c.css(2KB)
--------index.ff795776.js(18KB)
--------eye-slash-solid.91af226d.svg(966B)
--------eye-solid.bb5cffc9.svg(549B)
--------index.2390599c.css.map(3KB)
--------worker.f22fa0c1.js(5KB)
--------index.html(2KB)
--------index.64da206d.css.map(5KB)
--------index.64da206d.css(3KB)
--------index.ff795776.js.map(86KB)
--------worker.f22fa0c1.js.map(27KB)
----.prettierrc(117B)

网友评论