Skip to content

Releases: leezng/vue-json-pretty

1.6.0

31 Mar 14:06
208790e
Compare
Choose a tag to compare

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.

1.4.1

26 Aug 13:47
Compare
Choose a tag to compare
  • Fixed the problem that the deep attribute can't respond.

1.4.0

22 Jul 14:17
8d95478
Compare
Choose a tag to compare
  • Add count for length of array or object keys enhancement, see showLength
  • Fixed code version error

1.3.5

31 May 14:05
Compare
Choose a tag to compare
  • Fixed commas and quotes missing when selected.

1.3.4

01 Feb 13:46
Compare
Choose a tag to compare
  • Add deep to define the maximum depth of data.

1.3.3

22 Nov 09:00
Compare
Choose a tag to compare
  • Turn off data selection by default.
  • Style optimization, remove bold fonts, optimize line spacing.

1.3.2

10 Nov 06:40
Compare
Choose a tag to compare
  • Fixed the dataType of Boolean has no style beautification.

1.3.1

07 Nov 15:00
Compare
Choose a tag to compare

1.3.1