@ng-vcl/json-editor
v0.4.0-12
Published
A json-editor for ng-vcl
Downloads
59
Keywords
Readme
vcl-json-editor
A json-editor based on jsoneditor.
Installation
npm install @ng-vcl/json-editor --save
Usage:
import { VCLJsonEditorModule } from 'ng-vcl';
@NgModule({
imports: [ VCLJsonEditorModule ],
...
})
export class AppComponent {}
<vcl-json-editor [value]="myObject"></vcl-json-editor>
API
vcl-json-editor properties:
Name | Type | Default | Description
--------- | ------ | ------- | -----------------------------------------------------------------------------------------------------------------------
mode
| string | 'tree' | Editormode ENUM('tree','form','text','view')
height
| string | '250px' | height of the editor-window
value
| string | {} | An Object to begin editing with
options
| object | {} | Any jsoneditor specific content. See JSON-EDITOR-API