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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand all, collapse all #55

Open
benjamincharity opened this issue Jul 13, 2016 · 1 comment
Open

Expand all, collapse all #55

benjamincharity opened this issue Jul 13, 2016 · 1 comment

Comments

@benjamincharity
Copy link

Digging this module 馃憤

Any thoughts on adding a method to 'expand all folds' or 'collapse all folds'? Seems like it could be quite useful.

@mohsen1
Copy link
Owner

mohsen1 commented Jul 13, 2016

Since this directive is not watching the open attribute it's not easy to add a link next to where it is rendered to do the toggle.

If you make a PR for watching the open attribute something like this should work:
http://jsbin.com/vuzatohuca/edit?html,output

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

No branches or pull requests

2 participants