1.3.2 • Published 4 years ago

@webcomponents-dev/json-element v1.3.2

Weekly downloads
32
License
MIT
Repository
github
Last release
4 years ago

wc-json

The web component consumes a JSON object and creates an interactive UI from its contents

API

PropertyDescriptionDefault
valueValue to present. Can be JSON but also Number, String, Array, Function, Symbol, Boolean, Date{}
openPossible values: "closed": Object is closed"full": Object is fully open"top-only" Only top level open"closed"

References

edit-in-webcomponents.dev

Credits

Inspired by svelte-json-tree

Challenged by @passle_ "Can you do it with 0 dependencies?!" 💪

Created with webcomponents.dev