You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to have the ability to have a callback option that could be used whenever a specific toast is cleared (when using useToast and the toast clears through it's own timeout or the use dismissing it using the close button).
The Discord AI helper suggested watching all the toasts array, and then reacting when one is removed. Doing this each time would become rather time consuming and repetitive.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Description
After using the Discord help area it seems that there's no callback function for dynamically created toasts (when using
useToast
composable).IIRC this used to be possible with the previous major version of Nuxt UI (using Notification, I think).
Update: here's how it worked previously.
Additional context
It would be helpful to have the ability to have a callback option that could be used whenever a specific toast is cleared (when using
useToast
and thetoast
clears through it's own timeout or the use dismissing it using the close button).The Discord AI helper suggested watching all the toasts array, and then reacting when one is removed. Doing this each time would become rather time consuming and repetitive.
The text was updated successfully, but these errors were encountered: