Closed NullVoxPopuli closed 3 years ago
There is already a callback
property which takes in a function and is invoked when the toast is dismissed. I hope that handles your use-case.
@apvarun Is the callback property also invoked when the user clicks on the toast, or is it exclusively for when the user hits the close icon?
@madhavMathur : If you refer the API here, you will notice that there are two events.
I think your usecase may fit into one of these. Would love to hear your thoughts.
Closing this due to inactivity
This'd be especially useful for integrating with async test frameworks