Skip to content

Releases: cheton/infinite-tree

v1.8.0

07 Feb 16:23
Compare
Choose a tag to compare

This release contains bug fixes and improvements, including:

  • Adds support for keyboard events (10f0802, resolves #6)
  • Fixed a bug that cannot remove click and dblclick listeners on destroy (10f0802)
  • Adds new option to the selectNode API:
    • autoScroll: Automatically scroll to the selected node. Defaults to true.
  • Adds getSelectedIndex API

Events

v1.7.3

28 Nov 03:41
Compare
Choose a tag to compare

Update dependencies:

v1.7.2

29 Sep 08:27
Compare
Choose a tag to compare

Add a new "shallowRendering" option to the updateNode method that allows to render only the node without expanded child nodes. Defaults to false

v1.7.1

17 Aug 09:31
Compare
Choose a tag to compare

Resolve an issue that removeNode and removeChildNodes will not remove the specified node from the list of open nodes (968485f)

v1.7.0

15 Jul 03:27
Compare
Choose a tag to compare

v1.6.0

13 Jun 07:30
Compare
Choose a tag to compare
  • Calling openNode will now return true while loading on-demand child nodes (14cdbcb)
  • Changes to removeChildNodes and removeNode:
    • No nodes will be selected if the next selected node is the root node (ea75a58)
    • The original reference to the root node will not be destroyed if all child nodes are removed (e7a7004)
  • Adds more tests
  • Adds npm package dependencies
    • classnames
    • element-class
    • escape-html
    • html5-tag
    • is-dom

v1.5.1

10 Jun 07:56
Compare
Choose a tag to compare
  • Fixes a bug in "addChildNodes" that will add a node to index 0 if the "index" parameter is undefined (249a98d)

v1.5.0

09 Jun 13:09
Compare
Choose a tag to compare
  • Pass options = { silent: true } to prevent "openNode", "closeNode", and "selectNode" events from being triggered (2c3ead9) for the following APIs:
    • closeNode(node, options)
    • openNode(node, options)
    • selectNode(node, options)
    • toggleNode(node, options)
  • toggleNode should return a boolean value (366b124)
  • Add initial tests

v1.4.0

08 Jun 11:25
Compare
Choose a tag to compare

Use the disabled attribute to prevent default action (e664510)

var tree = new InfiniteTree({
    rowRenderer: function(node, treeOptions) {
        return '<div data-id="' + node.id + '" class="infinite-tree-item" disabled></div>';
    }
});

v1.3.1

02 Jun 08:59
Compare
Choose a tag to compare
  • Fixed a bug that will not be able to add new child nodes if rootNode is null (f8b1759)
  • Update dependencies: