Home
Home copied to clipboard
Request: Toastr Notifications
Can we have a Toastr Extension? I'm trying to implement myself, but I still have a lot to learn.
I'm trying to learn about extensions, so I decided to create a project: https://github.com/arapinha/Blazor.Toastr
From the gitter discussion, There's also https://github.com/sotsera/sotsera.blazor.toaster
I'm onboarding HTML5 Notifications API project from @vertonghenb here https://github.com/BlazorExtensions/Notifications
The original repo: https://github.com/vertonghenb/Blazor.Notifications
He is porting his project to our structure and soon will be a nuget package out.
Haven't had a chance to play with HTML5 Notifications. How customizable are they compared to JS solutions? It seems like they are very static, design wise.
~I'm adding ToastR as well. I have it done for a while, just didnt had time to push it out. Gimme a bit of time. Will let u guys know.~
I just realized that it requires JQuery, so I'm dropping it for now. Will implement one pure in C# when I got time.
@ransagy They're not that customizable, I tried to implement the spec in the Blazor.Notifications repo. However since I'm a strong believer in testability I designed it to have a DI first approach and pass on the static.
Yeah, avoid statics at all cost 👍
Did we have any updates on this?
If that is not going to be maintained, I'll drop the repo for now.
Thanks!