Skip to content
This repository was archived by the owner on May 25, 2018. It is now read-only.

Conversation

@Konafets
Copy link

@Konafets Konafets commented Jun 28, 2017

Note: For v2 branch.

It would be nice if an accordion has knowledge when one of its panels opens
or closes and which panel it is.

My usecase is that I want to send an AJAX request when a panel get closed.

With the following implementation the open and closed event on the panel will pushed to
the accordion component if the panel is within an accordion.

The closed event on the accordion component will be fired when an open panel got closed
by opening another panel.

It would be nice if an accordion has knowledge when one of its panels opens
or closes and which panel it is.

My usecase is that I want to send an AJAX request when a panel get closed.

With the following implementation the open and closed event on the panel will pushed to
the accordion component if the panel is within an accordion.

The closed event on the accordion component will be fired when an open panel got closed
by opening another panel.
Add the possibility to add a panel footer.
Its a first draft and I am not sure atm if the footer should be hidden when the panel gets closed or not.

Options are:
- Footer is always there
- Footer got hidden, when Panel gets closed
- Its configurable
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant