Releases
2.6.0
JsonTree.js v2.6.0 - Editing support! Lots of UI improvements and fixes!
New Features:
Added editing support! You can now edit property names and values while clearing the data will remove the item.
Binding Options:
Added a new binding option called "allowEditing" (defaults to true), which states if property name/value editing is allowed.
Binding Options - Custom Triggers:
When "onValueClick" is set, all HEX/RGB colors are now passed using a type of "color".
UI Improvements:
Strings that are RGB or RGBA colors are now shown as colors in the display (as with hex colors).
String HEX/RGB colors are now shown without the string quotes (if enabled).
Removed spacing around the fields and improved the margins.
The Array/Object contents opened/closed in the display are now remembered when switching between array pages (if turned on).
General Improvements:
Moved from ES2016 to ES2020.
Moved more code into the shared files.
When an ID is set for an element, it is removed when "destroy()" is called.
When an element is destroyed, if no classes are left on the element, the "class" attribute is now removed.
You can’t perform that action at this time.