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

feat: add timeformat props

This commit is contained in:
风棋
2020-07-14 11:18:19 +08:00
parent 3772cf550a
commit dc78d721a5
10 changed files with 33 additions and 19 deletions
+1
View File
@@ -152,6 +152,7 @@ import 'vue-json-viewer/style.css'
| `boxed` | Add a fancy "boxed" style to component | `false` |
| `theme` | Add a custom CSS class for theming purposes | `jv-light` |
| `expanded` | Default expand the view | `false` |
| `timeformat` | custom time format function | time => time.toLocaleString() |
## Listeners