2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-23 20:40:38 +03:00

feat: support customize copy text

This commit is contained in:
陈峰
2019-08-31 17:15:51 +08:00
parent fae9735acb
commit c0a26557e0
4 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ import 'vue-json-viewer/style.css'
| ----------- |:------------- | ----------- |
| `value` | JSON data (can be used with `v-model`) | **Required** |
| `expand-depth` | Collapse blocs under this depth | `1` |
| `copyable` | Display the copy button | `false` |
| `copyable` | Display the copy button, you can customize copy text just set `{copyText: 'copy', copiedText: 'copied'}` or set `true` use default copytext | `false` |
| `sort` | Sort keys before displaying | `false` |
| `boxed` | Add a fancy "boxed" style to component | `false` |
| `theme` | Add a custom CSS class for theming purposes | `jv-light` |