Blazored / Toast

A JavaScript free toast library for Blazor and Razor Component applications
https://blazored.github.io/Toast/
MIT License
663 stars 92 forks source link

[Feature Request] Make closing event accessible #88

Closed ByteCraftServices closed 3 years ago

ByteCraftServices commented 4 years ago

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.

chrissainty commented 4 years ago

That's a great idea @ANM86. I'm now working on the next version of Toast so I'll include this.

ByteCraftServices commented 4 years ago

Nice. I am looking forward to your new version. Thanks man

chrissainty commented 3 years ago

Resolved in v3.2.0