wix-incubator / angular-tree-control

Angular JS Tree
http://wix.github.io/angular-tree-control
MIT License
707 stars 276 forks source link

undo selection #231

Open PavelGal opened 8 years ago

PavelGal commented 8 years ago

var res = $scope.onSelection({node: selectedNode, selected: selected, $parentNode: parentNode, $path: path, $index: transcludedScope.$index, $first: transcludedScope.$first, $middle: transcludedScope.$middle, $last: transcludedScope.$last, $odd: transcludedScope.$odd, $even: transcludedScope.$even, event: event }); if (res === false) { $scope.selectedNode = undefined; }