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

Toast: new close and life-end methods #2989

Closed
vasiliyaltunin opened this issue Sep 18, 2022 · 3 comments
Closed

Toast: new close and life-end methods #2989

vasiliyaltunin opened this issue Sep 18, 2022 · 3 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@vasiliyaltunin
Copy link

vasiliyaltunin commented Sep 18, 2022

Add callback to Toast that fire up when toast message closed on timeout.

For example on password change i would like to redirect to login page after message about succes password change closed.

@vasiliyaltunin vasiliyaltunin added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Sep 18, 2022
@mroettgen
Copy link
Contributor

I think it would be preferrable to have events that one can bind to in these cases, e.g. @close and @timeout, since @close can already be used for messages

@Jogai
Copy link

Jogai commented Feb 25, 2023

@cagataycivici said in discord:

Sounds good to me, we already have an internal close event, just needs to expose it. Please create a ticket at github and we'll add it to the plan. It'd help to quote this comment as well as a reference.

@cagataycivici
Copy link
Member

Thanks Jogai

@cagataycivici cagataycivici added this to the 3.24.0 milestone Feb 25, 2023
@tugcekucukoglu tugcekucukoglu changed the title Toast: callback on hide Toast: new close and Mar 7, 2023
@tugcekucukoglu tugcekucukoglu changed the title Toast: new close and Toast: new close and life-end methods Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

5 participants