0.0.3 • Published 3 years ago

sx-json-viewer v0.0.3

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

SxJsonViewer

An angular Component to display JSON data

use:

npm i sx-json-viewer --save

in app.module.ts

import { SxJsonViewerModule } from 'sx-json-viewer';
...

@NgModule({
 ...
 imports: [
    ...
    SxJsonViewerModule // <- import the module
  ],
 ...

in target html:

<sx-json-viewer [title]="'My JSON Config'" [jsonStr]="jsonStr"></sx-json-viewer>

Note: jsonStr is a string. So convert an Object using JSON.stringify and pass on to jsonStr

=================================================================

This library was generated with Angular CLI version 11.2.11. It uses Ivy. A new webcomponent version to be released soon

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago