It would be nice to use the close event for some custom operations.
E.g.: We use the toasts to give the user information about WebAPI responses. We keep track of all displayed messages and the user have to "confirm" that they have read it. So the most outputs are kept quite simple and short, and the user could "confirm" them with clicking the close button at the time when they read the toast message.
Having access to the close event would give us the opportunity to mark the message as read.
It would be nice to use the close event for some custom operations.
E.g.: We use the toasts to give the user information about WebAPI responses. We keep track of all displayed messages and the user have to "confirm" that they have read it. So the most outputs are kept quite simple and short, and the user could "confirm" them with clicking the close button at the time when they read the toast message.
Having access to the close event would give us the opportunity to mark the message as read.