v-jsoneditor
Vue JSONEditor.
Installation
Using
Import globally
Import
Browser
Use in template
Options
Name | Description | type | default |
---|---|---|---|
options | Jsoneditor params, You can look at the detailed configuration | Object | { mode: 'code' } |
value(v-model) | Object value | Object | { } |
plus | Whether full screen switching is added | Boolean | true |
height | Default height | String | - |
Events
Name | Description |
---|---|
error | Error callback |