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

Add clear-selected attribute to clear all the selected items #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arielcr
Copy link

@arielcr arielcr commented Sep 16, 2016

Hi @lukemurray

I finally found a way to clear all the tree, I don't know if it's the fanciest way of doing it, but it works.

I add a clear-selected attribute to the directive that basically what it does it that is clears and refresh all the tree when the variable that is passed to the clear-selected attribute is changed.

It works pretty nice for me. I also add some documentation of the attribute to the demo page, just for a quick reference on how to do it.
I add a clear-selected attribute to the directive that basically what it does it that is clears and refresh all the tree when the variable that is passed to the clear-selected attribute is changed.

Tell me what you think, I hope you can merge it into your branch!

Cheers!

@arielcr arielcr mentioned this pull request Sep 16, 2016
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

Successfully merging this pull request may close these issues.

1 participant