This repository has been archived by the owner on Jul 24, 2019. It is now read-only.
Releases: Basaingeal/Blazor.PageVisibility
Releases · Basaingeal/Blazor.PageVisibility
v0.4.0
Deprecated. Use CurrieTechnologies.Razor.PageVisibility
.
v0.3.2
- fix typo in DI method
- update Nuget description to clarify usage.
v0.3.1
remove dev files from nuget package content
v0.3.0
Update to latest Microsoft.AspNetCore.Components.Browser
preview version
v0.2.2
Add DI method to use in startup: services.AddPageVisibility()
v0.2.1
Reduced overhead for synchronous JavaScript calls.
EventCallbacks
The Visibility Change listener now uses EventCallbacks. This means that the caller will not have to call StateHasChanged
, but they will have to pass a this
reference when setting the callback function.
await visibilityService.OnVisibilityChangeAsync(OnVisibilityChange, this);
void OnVisibilityChange(VisibilityInfo visibilityInfo){ ... }
Initial Release
v0.1.0 update readme