Skip to content

Releases: cheton/infinite-tree

v1.3.0

27 May 11:16
Compare
Choose a tag to compare

This update contains enhancements and bug fixes, including:

  • Add clusterWillChange and clusterDidChange events (18ab19e)
  • Add position: relative to .infinte-tree-content in index.styl (1030ca9)
  • Resolving an issue that event.currentTarget is null with Firefox on OS X (84153a2)
  • Add an overlay element to default and classic examples (a861060)
Breaking Change
  • Change the droppable.accept option as below (367f423):

    droppable: {
      // @param {object} event The event object.
      // @param {object} options The options object.
      // @param {string} options.type The event type: 'dragenter' or 'drop'.
      // @param {object} options.draggableTarget The draggable target.
      // @param {object} options.droppableTarget The droppable target.
      // @param {object} options.node The Node object.
      // @return {boolean} The function must return true if the draggable should be accepted.
      accept: function(event, options) {
          return true;
      }
    }

v1.2.0

21 May 08:29
Compare
Choose a tag to compare

Events

v1.1.2

18 May 05:04
Compare
Choose a tag to compare
  • Update devDependencies
  • GitHub Releases on Travis CI
  • Add FAQ to README

v1.1.1

02 May 08:37
Compare
Choose a tag to compare

Fixing an issue that the click event cannot bubble up to any higher level event handlers

v1.1.0

18 Apr 09:18
Compare
Choose a tag to compare

This update contains an enhancement for droppable support:

Options

  • Removed dragoverClass option
  • Removed droppableAttr option
  • Added droppable option

Events

  • Removed the deprecated update event
  • Removed the deprecated dropNode event

Styles

v1.0.1

17 Apr 03:18
Compare
Choose a tag to compare
  • Updates examples
  • Fixed a hard-coded droppable option in src/renderer.js

v1.0.0

16 Apr 16:17
Compare
Choose a tag to compare

Consistent Naming

  • Renamed tree- to infinite-tree- for all CSS files
  • Renamed aria- to data- in README.md and Wiki

Options

v0.9.0

16 Apr 04:37
Compare
Choose a tag to compare

Options

Events

v0.8.2

12 Apr 11:44
Compare
Choose a tag to compare

Fixes a bug that may cause infinite loop while passing empty nodes to the done callback of the loadOnDemand function.

v0.8.1

10 Apr 15:04
Compare
Choose a tag to compare
  • Updates the constructor interface. Now it can accept the element el as the first parameter. For example:

    new InfiniteTree(document.getElementById('#tree'), { ... });
  • Adds a max height for the infinite-tree-content class as default

    .infinite-tree-content {
        max-height: 400px;
    }