Substantive.Blazor.BrowserInterop 9.4.0-build20260206r4
Blazor.BrowserExtensions
Browser-focused Blazor helpers and small wrappers around common Web APIs that complement JS interop utilities.
Purpose
- Provide thin, developer-friendly helpers for Blazor apps (WebAssembly/Server) that need browser APIs not available in .NET directly.
Location
- Project folder:
src/BuildingBlocks/Blazor.BrowserExtensions - Assembly/namespace:
Substantive.Blazor.BrowserInterop
Quick start
- Add a project reference to
src/BuildingBlocks/Blazor.BrowserExtensionsfrom your Blazor app (or install the package when published). - Import helpers in
_Imports.razoror specific components:- Example:
@using Substantive.Blazor.BrowserInterop
- Example:
- Use the provided helpers (for example
WebApiUtils.Clipboard.ReadText()orWebApiUtils.Window.InnerWidth()) from your components.
Notes
- These helpers are intended mainly for development and integration with browser functionality; prefer Blazor abstractions (like
NavigationManager) when available. - Build with:
dotnet build.
Contributing
- Open an issue or submit a PR with examples or additional browser helpers you'd like included.
Showing the top 20 packages that depend on Substantive.Blazor.BrowserInterop.
| Packages | Downloads |
|---|---|
|
Substantive.Blazor.Navigation
Blazor components for handle web page navigations.
|
1 |
|
Substantive.Blazor.Navigation
Blazor components for handle web page navigations.
|
2 |
|
Substantive.Blazor.Navigation
Blazor components for handle web page navigations.
|
4 |
|
Substantive.Blazor.Navigation
Blazor components for handle web page navigations.
|
19 |
|
Substantive.Metapackage.Blazor
A metapackage contains all Blazor essential building blocks. It packed standalone Blazor components and extensions that often use such as JSInterop, BrowserInterop, Navigation, Exception Handling, Localization, etc,.
|
2 |
|
Substantive.Metapackage.Blazor
A metapackage contains all Blazor essential building blocks. It packed standalone Blazor components and extensions that often use such as JSInterop, BrowserInterop, Navigation, Exception Handling, Localization, etc,.
|
19 |
|
Substantive.Metapackage.Blazor
A metapackage contains all Blazor essential building blocks. It packed standalone Blazor components and extensions that often use such as Navigation, Exception Handling, Localization, etc,.
|
4 |
.NET 10.0
- KristofferStrube.Blazor.WebAudio (>= 0.1.0-alpha.13)