mirror of
https://github.com/tenrok/vue-json-viewer.git
synced 2026-06-20 20:00:37 +03:00
feat: RM
This commit is contained in:
@@ -160,6 +160,8 @@ import 'vue-json-viewer/style.css'
|
||||
| `expanded` | Default expand the view | `false` |
|
||||
| `timeformat` | custom time format function | time => time.toLocaleString() |
|
||||
| `preview-mode` | no expand mode | `false` |
|
||||
| `show-array-index` | array show index | `true` |
|
||||
|
||||
|
||||
## Listeners
|
||||
|
||||
@@ -173,6 +175,11 @@ import 'vue-json-viewer/style.css'
|
||||
| ----------- |:------------- | ----------- |
|
||||
| `copy` | Custom content for copy button | `{copied: boolean}` |
|
||||
|
||||
## shortcut keys
|
||||
| Name | Description | Scope |
|
||||
| ----------- |:------------- | ----------- |
|
||||
| `alt` + click | expand all node | |
|
||||
|
||||
## Theming
|
||||
|
||||
To create custom theme, (e.g. `my-awesome-json-theme`), in two easy steps:
|
||||
|
||||
Reference in New Issue
Block a user