json-view-element
Boilerplate for creating a custom element.
Installation
Available on npm as json-view-element.
$ npm install --save json-view-element
Usage
Script
Import as ES modules:
import 'json-view-element'
Include with a script tag:
<script type="module" src="./node_modules/json-view-element/dist/index.js">
An example Custom Element. This documentation ends up in the README so describe how this elements works here.
You can event add examples on the element is used with Markdown.
<json-view-element></json-view-element>
License
Distributed under the MIT license. See LICENSE for details.