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                
#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                

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 the ChildContent parameter. The DashBoardItem component also provides a ResizeGrabber and a MoveGrabber parameter that can be used to provide custom resize and move grabbers. The Header parameter can be used to provide a custom header for the item. If the default MoveGrabber and Header arrangement in HTML is not as wanted, FullHeader may be used to fully customize the header, including the MoveGrabber.
    • 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 the DashBoardItem 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 the DashBoardItem component if desired.

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 service
    • GetElementBoundsAsync(ElementReference elementReference) returns the values of the javascript getBoundingClientRect() function.
    • RegisterOnResize(ElementReference elementReference, Func<Rectangle<double>, ValueTask> callback) allows to register a callback that is called when the element is resized, using ResizeObserver.
    • RegisterWindowEvent(string eventName, Func<JsonElement, ValueTask> callback) allows to register a callback that is reacting to a window event, using window.addEventListener().
Product 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1.7 197 5/16/2023
1.0.1.6 138 5/16/2023
1.0.1.5 143 5/11/2023
1.0.1.4 145 5/11/2023
1.0.0.3 155 5/10/2023
1.0.0.2 171 4/22/2023
1.0.0.1 145 4/22/2023
1.0.0 164 4/22/2023