X39.Util.Blazor.WebAssembly
1.0.1.7
dotnet add package X39.Util.Blazor.WebAssembly --version 1.0.1.7
NuGet\Install-Package X39.Util.Blazor.WebAssembly -Version 1.0.1.7
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="X39.Util.Blazor.WebAssembly" Version="1.0.1.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add X39.Util.Blazor.WebAssembly --version 1.0.1.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: X39.Util.Blazor.WebAssembly, 1.0.1.7"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install X39.Util.Blazor.WebAssembly as a Cake Addin #addin nuget:?package=X39.Util.Blazor.WebAssembly&version=1.0.1.7 // Install X39.Util.Blazor.WebAssembly as a Cake Tool #tool nuget:?package=X39.Util.Blazor.WebAssembly&version=1.0.1.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Library offering a set of useful extensions and components for Blazor WebAssembly.
Components:
- DashBoard component with support for resizing and moving items.
- Main component:
X39.Util.Blazor.WebAssembly.Components.DashBoard.DashBoard
, represents a container that organizes a single dashboard. X39.Util.Blazor.WebAssembly.Components.DashBoard.DashBoardItem
A single item on the dashboard that can be moved and resized if desired. The content of the item is provided by theChildContent
parameter. TheDashBoardItem
component also provides aResizeGrabber
and aMoveGrabber
parameter that can be used to provide custom resize and move grabbers. TheHeader
parameter can be used to provide a custom header for the item. If the defaultMoveGrabber
andHeader
arrangement in HTML is not as wanted,FullHeader
may be used to fully customize the header, including theMoveGrabber
.X39.Util.Blazor.WebAssembly.Components.DashBoard.DashBoardDefaultResizeGrabber
A default resize grabber that can be used to resize the dashboard item. You can provide your own to theDashBoardItem
component if desired.X39.Util.Blazor.WebAssembly.Components.DashBoard.DashBoardDefaultMoveGrabber
A default move grabber that can be used to move the dashboard item. You can provide your own to theDashBoardItem
component if desired.
- Main component:
Services (use builder.Services.AddAttributedServicesFromAssemblyOf<X39.Util.Blazor.WebAssembly.Assembly>(builder.Configuration)
to add all of them):
LocalStorage
offers a simple way to store and retrieve data from the browser's local storage.ComponentUtil
JavaScript interop serviceGetElementBoundsAsync(ElementReference elementReference)
returns the values of the javascriptgetBoundingClientRect()
function.RegisterOnResize(ElementReference elementReference, Func<Rectangle<double>, ValueTask> callback)
allows to register a callback that is called when the element is resized, usingResizeObserver
.RegisterWindowEvent(string eventName, Func<JsonElement, ValueTask> callback)
allows to register a callback that is reacting to a window event, usingwindow.addEventListener()
.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- Microsoft.AspNetCore.Components.Web (>= 7.0.5)
- Microsoft.AspNetCore.Components.WebAssembly (>= 7.0.5)
- X39.Util (>= 1.0.0.38)
- X39.Util.DependencyInjection (>= 2.0.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.