You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@ The only *required* value is `data` (although you will need to provide a `setDat
112
112
|`enableClipboard`|`boolean\|CopyFunction`|`true`| Whether or not to enable the "Copy to clipboard" button in the UI. If a function is provided, `true` is assumed and this function will be run whenever an item is copied. |
113
113
|`indent`|`number`|`3`| Specify the amount of indentation for each level of nesting in the displayed data. |
114
114
|`collapse`|`boolean\|number\|FilterFunction`|`false`| Defines which nodes of the JSON tree will be displayed "opened" in the UI on load. If `boolean`, it'll be either all or none. A `number` specifies a nesting depth after which nodes will be closed. For more fine control a function can be provided — see [Filter functions](#filter-functions). |
115
-
|`collapseAnimationTime`|`number`|`500`| Time (in milliseconds) for the transition animation when collapsing collection nodes. |
115
+
|`collapseAnimationTime`|`number`|`300`| Time (in milliseconds) for the transition animation when collapsing collection nodes. |
116
116
|`restrictEdit`|`boolean\|FilterFunction`|`false`| If `true`, no editing is permitted. A function can be provided for more specificity — see [Filter functions](#filter-functions)|
117
117
|`restrictDelete`|`boolean\|FilterFunction`|`false`| As with `restrictEdit` but for deletion |
118
118
|`restrictAdd`|`boolean\|FilterFunction`|`false`| As with `restrictEdit` but for adding new properties |
0 commit comments