Skip to content

1.6.0

Compare
Choose a tag to compare
@leezng leezng released this 31 Mar 14:06
· 262 commits to dev since this release
208790e

Why is it 1.6? Because I have added a lot of new attributes, and at the same time modified the existing selection methods, unified into single, multiple or pure display (no need to select), which brings some changes in attribute values. I think this is a jump, so I skipped 1.5.

  • I have unified the selection specification, and the selectableType only supports: single|multiple|""(default).
  • Add radio selector.
  • Add v-model to define the value when the tree can be selected.
  • Add prop "showDoubleQuotes" to configure whether display doublequotes on key(default: true). #17
  • Add prop "highlightSelectedNode" to highlight the selected item. #19
  • Add prop "highlightMouseoverNode" to highlight the item when mouseover.
  • Add prop "showLine" to configure whether the indented lines are displayed.
  • Add class "vjs-key", "vjs-value" to node so you can customize the style. #20
  • Add prop "showSelectController" to configure whether the selectors are displayed.
  • Add prop "selectOnClickNode" to configure whether click-node events affect selection changes.
  • Update the minimum compatible version of vue to 2.5.0, because I use the new Lifecycle Hooks called errorCaptured.
  • Fixed showLength attribute performance error.