Releases: cheton/infinite-tree
Releases · cheton/infinite-tree
v1.3.1
v1.3.0
This update contains enhancements and bug fixes, including:
- Add
clusterWillChange
andclusterDidChange
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
v1.1.2
v1.1.1
v1.1.0
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
- Removed infinite-tree-dragover class from src/index.styl
v1.0.1
v1.0.0
Consistent Naming
- Renamed tree- to infinite-tree- for all CSS files
- Renamed aria- to data- in README.md and Wiki
Options
- Added droppableAttr option (Defaults to "droppable")
- Added nodeIdAttr option (Defaults to "data-id")
v0.9.0
Options
- Added layout option (Defaults to "div")
- layout: "div" (http://cheton.github.io/infinite-tree/examples.html#/classic)
- layout: "table" (http://cheton.github.io/infinite-tree/examples.html#/filebrowser)
- Added noDataClass option (Defaults to "infinite-tree-no-data")
- Added noDataText option (Defaults to "No data")
- Added dragoverClass option (Defaults to "dragover")
Events
- Deprecated update event
- Added contentWillUpdate event
- Added contentDidUpdate event