Toast: How to find out when a user has closed Toast #3177
Unanswered
DKPlugins
asked this question in
PrimeReact
Replies: 1 comment
-
You can use the callback onRemove to monitor when Toad is hide in general. Then use the pt > closeButton, to add an onClick event so you can monitor when the user actively clicked on the button. Here is a sample:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I find out when the user closed the Toast, and when it automatically disappeared after the time expired?
Beta Was this translation helpful? Give feedback.
All reactions