ExtendedAuthorizeRouteViewโ extended authorize route view for Blazor routingCustomValidatorโ custom validation component for Blazor formsEditContextExtensionsโ notify field changes by field nameLoadingContainerโ render content by loading status- Script helper extensions for JavaScript interop
See Example.BlazorWasm for a runnable Blazor WebAssembly sample of the features below.
editContext.NotifyFieldChanged(nameof(Model.Name));
editContext.NotifyFieldsChanged(nameof(Model.Name), nameof(Model.Email));<LoadingContainer Status="status" Value="items" Context="list">
<LoadingContent><p>Loading...</p></LoadingContent>
<FailedContent><p>Failed to load.</p></FailedContent>
<ChildContent>
<ListItem Items="list" Context="item">
<ItemTemplate><li>@item.Name</li></ItemTemplate>
<EmptyContent><p>No items.</p></EmptyContent>
</ListItem>
</ChildContent>
</LoadingContainer>Status is one of NotLoaded, Loading, Loaded and Failed. ChildContent receives Value when Loaded.
await JSRuntime.SetFocus("name");
await JSRuntime.SaveAsFile("report.pdf", "application/pdf", bytes);
await JSRuntime.OpenNewWindow("application/pdf", bytes);
await JSRuntime.HistoryBack();