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

Feature: accordion functions to collapse or expand and also collapse or expand all #1970

Closed
Thorski opened this issue Nov 17, 2017 · 4 comments

Comments

@Thorski
Copy link

Thorski commented Nov 17, 2017

Feature Request for ngbAccordion:

Add functions to collapse/hide or expand/show a pane
Add function to collapse/hide all panes
Add function returning if a pane is collapsed/hidden or expanded/shown.

I have a situation where it has been hard for me to keep track of which accordions are expanded/shown and which are closed/hidden. All I have available is the toggle() function. It would be very nice to have the above functions.

Thank you.

@pkozlowski-opensource
Copy link
Member

Makes sense. Would you like to send a PR for this?

@Thorski
Copy link
Author

Thorski commented Nov 20, 2017

Ok, I will try.

@Thorski
Copy link
Author

Thorski commented Jan 31, 2018

Is it possible to get my PR into a release or what do I need to do?

Thanks.

@alignsoft
Copy link

This would be incredibly useful.

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

3 participants