@@ -106,28 +106,28 @@ plugins: [
106106
107107## Props
108108
109- | Property | Description | Type | Default |
110- | ------------------------ | ----------------------------------------------- | ----------------------- | ------- |
111- | data(v-model) | JSON data, support v-model when use editable | JSON object | - |
112- | deep | Paths greater than this depth will be collapsed | number | - |
113- | showLength | Show the length when collapsed | boolean | false |
114- | showLine | Show the line | boolean | true |
115- | showLineNumber | Show the line number | boolean | false |
116- | showIcon | Show the icon | boolean | false |
117- | showDoubleQuotes | Show doublequotes on key | boolean | true |
118- | virtual | Use virtual scroll | boolean | false |
119- | height | The height of list when using virtual | number | 400 |
120- | itemHeight | The height of node when using virtual | number | 20 |
121- | selectedValue.sync | Selected data path | string, array | - |
122- | rootPath | Root data path | string | ` root ` |
123- | pathSelectable | Defines whether a data path supports selection | function(path, content) | - |
124- | selectableType | Support path select, default none | ` multiple ` , ` single ` | - |
125- | showSelectController | Show the select controller | boolean | false |
126- | selectOnClickNode | Trigger select when click node | boolean | true |
127- | highlightSelectedNode | Support highlighting selected nodes | boolean | true |
128- | collapsedOnClickBrackets | Support click brackets to collapse | boolean | true |
129- | editable | Support editable | boolean | false |
130- | editableTrigger | Trigger | ` click ` , ` dblclick ` | ` click ` |
109+ | Property | Description | Type | Default |
110+ | ------------------------ | ----------------------------------------------- | -------------------- | ------- |
111+ | data(v-model) | JSON data, support v-model when use editable | JSON object | - |
112+ | deep | Paths greater than this depth will be collapsed | number | - |
113+ | showLength | Show the length when collapsed | boolean | false |
114+ | showLine | Show the line | boolean | true |
115+ | showLineNumber | Show the line number | boolean | false |
116+ | showIcon | Show the icon | boolean | false |
117+ | showDoubleQuotes | Show doublequotes on key | boolean | true |
118+ | virtual | Use virtual scroll | boolean | false |
119+ | height | The height of list when using virtual | number | 400 |
120+ | itemHeight | The height of node when using virtual | number | 20 |
121+ | selectedValue.sync | Selected data path | string, array | - |
122+ | rootPath | Root data path | string | ` root ` |
123+ | nodeSelectable | Defines whether a data path supports selection | function(node) | - |
124+ | selectableType | Support path select, default none | ` multiple ` , ` single ` | - |
125+ | showSelectController | Show the select controller | boolean | false |
126+ | selectOnClickNode | Trigger select when click node | boolean | true |
127+ | highlightSelectedNode | Support highlighting selected nodes | boolean | true |
128+ | collapsedOnClickBrackets | Support click brackets to collapse | boolean | true |
129+ | editable | Support editable | boolean | false |
130+ | editableTrigger | Trigger | ` click ` , ` dblclick ` | ` click ` |
131131
132132## Events
133133
0 commit comments