Releases: thienhung1989/angular-tree-dnd
Releases · thienhung1989/angular-tree-dnd
v3.0.11: Merge pull request #71 from thienhung1989/develop
v3.0.11
- Fixed:
- Upgrade version: v3.0.11.
- Remove lib no use for dev.
v3.0.10: Merge pull request #70 from thienhung1989/develop
v3.0.10
- Fixed:
- Missing attributes: indent & indent_plus.
- Upgrade gulp4.
- Add package-lock.json & yarn.lock.
- Add jsdoc3.
- Fix bug & update demo
v3.0.9
- Fixed:
- The tree control isn't working.
- Reconstruct demo.
- Optimal code.
- Fix drag & drop
v3.0.8
- Fixed:
- Expand & collection node.
- Added:
- Allow drag & drop when
$compileProvider.debugInfoEnabled(false);.
- Allow drag & drop when
- Optimal code.
- Reformat code.
fix_bugs
+ Fix node when call function expand_node.
Update new contruct
- Fix any errors.
- Testing with angular 1.6.
Optimal & Faster
v3.0.4
- Removed:
$watchin node, nodes- $icon_class -> node.icon_class
- Fixed:
- Indent when error dragging in list.
- Optimal
$watchof tree-dnd (faster, stabler).
- Added:
- Just only
pluginwhen need (increment speed init tree):- Filter.
- Order By.
- Drag & Drop.
- Control of Tree.
- In Demo:
- Custom Options & Demo live.
- Order By.
- Just only
## v3.0.3
v3.0.3
- Fix error dragDrop for Tree
- Optimal getElementChilds
- Add new Demo (filter, multi tree)
- Problems:
- Error when drag node to thead (table)
- Next feature:
- Split angular-tree-dnd:
- Only Directive control: next, prev,...
- Only DragNDrop
- ....
- And Full-All
- OrderBy
- Split angular-tree-dnd:
## v3.0.2
v3.0.2
- Add function
Scope.$safeApply(). - Fix Watch
- Fix Bower.json
- Fix any error angular 1.2.1.
- New feature:
- Filter.
- Add
scope.targeting(boolean):true- whendragMovetargeting (tree-dnd over). - Add attribute
enableCollapseto enable Modecollapse nodewhendragStart.
- Next feature:
- Multi select.
- OrderBy data.
## v3.0.1
v3.0.1
- Add
gulp,travis,... dragBorder: allowdragindent ifpositionofdrag>=borderdrag.for_all_descendants: To access all descendant of node.- param: for_all_descendants(node, fnCallback);
- return: false (when
fnCallbackreturnfalseornull), true (if accessed all descendant) - fnCallback: to proccess when dir to node.
- result: if return true or Object then
breakfunctionfor_all_descendants(when functionfor_all_descendantsreturnfalse)
- result: if return true or Object then
for_all_ancestors: sample likefor_all_descendants(but use toancestors);- Attribute
tree-classiftype:string: will cast value toscope.tree_classobject: will cast vaule to$TreeDnDClass- '$TreeDnDClass': constant of
classin Tree, ableextendby attributetree-class- tree: 'tree-dnd', (auto
addClasstree-dnd) - empty: 'tree-dnd-empty',
- hidden: 'tree-dnd-hidden',
- node: 'tree-dnd-node', (auto
addClasstree-dnd-node) - nodes: 'tree-dnd-nodes', (auto
addClasstree-dnd-nodes) - handle: 'tree-dnd-handle',
- place: 'tree-dnd-placeholder',
- drag: 'tree-dnd-drag',
- status: 'tree-dnd-status',
- icon:
- '1': 'glyphicon glyphicon-minus', (able cast by attribute
icon-leaf) - '0': 'glyphicon glyphicon-plus', (able cast by attribute
icon-leaf) - '-1': 'glyphicon glyphicon-file', (able cast by attribute
icon-leaf)
- '1': 'glyphicon glyphicon-minus', (able cast by attribute
- tree: 'tree-dnd', (auto
- '$TreeDnDClass': constant of
- Attribute
tree-control- Allowdevelopercreate new or overdrive all function exist below :- Directive:
- collapse_all: ()
- collapse_node: (node)
- expand_all: ()
- expand_all_parents: (child)
- expand_node: (node)
- select_first_node: ()
- select_next_node: (node)
- select_next_sibling: (node)
- select_node: (node)
- deselect_node: ()
- select_parent_node: (node)
- select_prev_node: (node)
- select_prev_sibling: (node)
- Event:
- for_all_ancestors: (child, fn)
- for_all_descendants: (node, fn)
- get_children: (node)
- get_closest_ancestor_next_sibling: (node)
- get_first_child: (node)
- get_first_node: ()
- get_last_descendant: (node)
- get_next_node: (node)
- get_next_sibling: (node)
- get_parent: (node)
- get_prev_node: (node)
- get_prev_sibling: (node)
- get_selected_node: ()
- get_siblings: (node)
- Effect:
- reload_data: ()
- add_node: (parent, new_node, index)
- add_node_root: (new_node)
- remove_node: (node)
- selected_node: null
- Directive: