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 events for external use #23

Open
Spone opened this issue May 16, 2017 · 1 comment
Open

Add events for external use #23

Spone opened this issue May 16, 2017 · 1 comment

Comments

@Spone
Copy link

Spone commented May 16, 2017

Hi there,

I'd like to be able to listen to some events on the accordion, in order to refresh other parts of my page when an accordion item is open or closed.

This would be similar to Bootstrap Collapse events.

So I would be able to do something like:

$('.js-accordion').on('open.js-accordion', onAccordionItemOpened);
$('.js-accordion').on('close.js-accordion', onAccordionItemClosed);

Are you open to this idea? Do you want me to implement it?

Thanks in advance.

@Spone
Copy link
Author

Spone commented Jun 26, 2018

Hi @nico3333fr, any news on this? Thanks

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

1 participant