Blazor hook into native Window beforeunload with async/await and cancel support.
Info
| Version: | 1.0.4 |
| Author(s): | Piotr Blazejewicz |
| Last Update: | Monday, November 4, 2019 |
| .NET Fiddle: | Create the first Fiddle |
| Project Url: | https://github.com/peterblazejewicz/blazor-beforeunload |
| NuGet Url: | https://www.nuget.org/packages/BlazorBeforeUnload |
Install
Install-Package BlazorBeforeUnload
dotnet add package BlazorBeforeUnload
paket add BlazorBeforeUnload
BlazorBeforeUnload Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNetCore.Components(>= 3.0.0)
- Microsoft.AspNetCore.Components.Web(>= 3.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions(>= 3.0.0)
Tags