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 event listeners for transition events. #46

Open
brian-mcallister-lab49 opened this issue Apr 12, 2022 · 0 comments
Open

Add event listeners for transition events. #46

brian-mcallister-lab49 opened this issue Apr 12, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@brian-mcallister-lab49
Copy link
Member

We could add the ability for users to subscribe to transition events in the UI, so that if you wanted to link together some callback and the state of the UI, you could accomplish that.

We'd likely need to listen to this event: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/transitionend_event

As far as the API, I'm not entirely sure what the best option is. We may need to rely on React refs to accomplish this.

@brian-mcallister-lab49 brian-mcallister-lab49 added the enhancement New feature or request label Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant