Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Detecting/Supporting De-Select #84

Open
emadd opened this issue May 13, 2015 · 1 comment
Open

Request: Detecting/Supporting De-Select #84

emadd opened this issue May 13, 2015 · 1 comment

Comments

@emadd
Copy link

emadd commented May 13, 2015

Provide deselect method and/or send null to on-select when clicking on already selected leaf

@gesslerpd
Copy link

You can deselect by specifying a tree-control attribute to your directive

 ... tree-control="abnTreeCtrl"></abn-tree> ...

then in javascript

$scope.abnTreeCtrl.select_branch(); //null to the selected branch removes selection 

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants