@@ -977,13 +977,13 @@ With Scope:
977977
978978## Props
979979
980- | Name | Description | Type | Default |
981- | ------------------------------------------------------ | --------------------------------------------------------------------------------------------- | ------- | ----------- |
982- | v-model /<br >modelValue (Vue 3) /<br >value (Vue 2) | binding value | any | |
983- | mode /<br >v-model: mode (Vue 3) /<br >: mode .sync (Vue 2) | edit mode | ` Mode ` | ` Mode.tree ` |
984- | debounce | debounce delay to update the binding value when typing in text mode, in milliseconds | number | ` 300 ` |
985- | stringified | whether to keep the binding value as stringified JSON in text mode | boolean | ` true ` |
986- | ... | properties of [ svelte-jsoneditor] ( https://github.com/josdejong/svelte-jsoneditor/#properties ) | | |
980+ | Name | Description | Type | Default |
981+ | ------------------------------------------------------ | --------------------------------------------------------------------------------------------- | ------------------------------------ | ----------- |
982+ | v-model /<br >modelValue (Vue 3) /<br >value (Vue 2) | binding value | any | |
983+ | mode /<br >v-model: mode (Vue 3) /<br >: mode .sync (Vue 2) | edit mode | ` Mode ` /< br >you can use string in JS | ` Mode.tree ` |
984+ | debounce | debounce delay to update the binding value when typing in text mode, in milliseconds | number | ` 300 ` |
985+ | stringified | whether to keep the binding value as stringified JSON in text mode | boolean | ` true ` |
986+ | ... | properties of [ svelte-jsoneditor] ( https://github.com/josdejong/svelte-jsoneditor/#properties ) | | |
987987
988988### parsed JSON vs. stringified JSON
989989
@@ -1038,6 +1038,10 @@ import { Mode } from 'vanilla-jsoneditor'
10381038</template>
10391039```
10401040
1041+ > [ !Tip]
1042+ >
1043+ > You can use ` mode="text" ` in JavaScript context without installing vanilla-jsoneditor.
1044+
10411045### Naming convention
10421046
10431047Support camelCase and kebab-case for tag & property name.
0 commit comments