From bc80b0ef2a86f88c948b83bd2b078c6d0d2f0a91 Mon Sep 17 00:00:00 2001 From: Nikos Ftylitakis Date: Wed, 30 Nov 2022 08:44:01 +0200 Subject: [PATCH] Update README.md with prettier view of Component properties --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9cbd6fc..ed6d6dd 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,14 @@ A json editor of vue.js ## Component properties -v-model:bind the [json object] -:show-btns: boolean, show the save button, default: true -:expandedOnStart: boolean, expand the JSON editor on start for the modes 'tree', 'view', and 'form', default: false -:mode: string, default: tree -:lang: string, default: en -@json-change: on json changed -@json-save: on json save -@has-error: on error +* `v-model`:bind the [json object] +* `:show-btns`: boolean, show the save button, default: true +* `:expandedOnStart`: boolean, expand the JSON editor on start for the modes 'tree', 'view', and 'form', default: false +* `:mode`: string, default: tree +* `:lang`: string, default: en +* `@json-change`: on json changed +* `@json-save`: on json save +* `@has-error`: on error # How to use