KristofferStrube.Blazor.DOM 0.1.0-alpha.0

Prefix Reserved
This is a prerelease version of KristofferStrube.Blazor.DOM.
There is a newer version of this package available.
See the version list below for details.
dotnet add package KristofferStrube.Blazor.DOM --version 0.1.0-alpha.0                
NuGet\Install-Package KristofferStrube.Blazor.DOM -Version 0.1.0-alpha.0                
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="KristofferStrube.Blazor.DOM" Version="0.1.0-alpha.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KristofferStrube.Blazor.DOM --version 0.1.0-alpha.0                
#r "nuget: KristofferStrube.Blazor.DOM, 0.1.0-alpha.0"                
#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 KristofferStrube.Blazor.DOM as a Cake Addin
#addin nuget:?package=KristofferStrube.Blazor.DOM&version=0.1.0-alpha.0&prerelease

// Install KristofferStrube.Blazor.DOM as a Cake Tool
#tool nuget:?package=KristofferStrube.Blazor.DOM&version=0.1.0-alpha.0&prerelease                

License: MIT GitHub issues GitHub forks GitHub stars

Introduction

A Blazor wrapper for the DOM browser API.

The API standardizes a lot of the most basic structures for working within the browser. This includes models for Events, Aborting mechanisms, and Nodes in the DOM. This project implements a wrapper around the API for Blazor so that we can easily and safely interact with it from Blazor.

The project will not focus on the part of the API related to Nodes as this often leads to misuse of Blazor by circumventing the Blazor rendering engine.

This project is still being developer so coverage is very limited.

Demo

The sample project can be demoed at https://kristofferstrube.github.io/Blazor.DOM/

On each page you can find the corresponding code for the example in the top right corner.

On the Status page you can see how much of the WebIDL specs this wrapper has covered.

Issues

Feel free to open issues on the repository if you find any errors with the package or have wishes for features.

This project is going to be used in these projects:

This project is going to be used in these projects that haven't been build yet because they are missing key features from this project:

  • Blazor.UIEvent - API specifying the common UI events like MouseEvent, DragEvent, etc. (uses Events)

This repository was build with inspiration and help from the following series of articles:

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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 (5)

Showing the top 5 NuGet packages that depend on KristofferStrube.Blazor.DOM:

Package Downloads
KristofferStrube.Blazor.Streams

Streams wrapper implementation for Blazor.

KristofferStrube.Blazor.MediaCaptureStreams

Media Capture and Streams API wrapper implementation for Blazor.

KristofferStrube.Blazor.SVGAnimation

SVG Animation API wrapper implementation for Blazor.

KristofferStrube.Blazor.Window

Window wrapper implementation for Blazor.

KristofferStrube.Blazor.WebWorkers

Web Workers wrapper implementation for Blazor.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.3.0 352 10/23/2024
0.2.2 1,335 4/28/2024
0.2.1 5,717 4/9/2024
0.2.0 664 3/10/2024
0.1.1 3,177 6/21/2023
0.1.0 84 6/21/2023
0.1.0-alpha.8 86 6/20/2023
0.1.0-alpha.7 86 6/20/2023
0.1.0-alpha.6 76 6/20/2023
0.1.0-alpha.5 163 4/10/2023
0.1.0-alpha.4 104 4/10/2023
0.1.0-alpha.3 85 4/10/2023
0.1.0-alpha.2 142 3/1/2023
0.1.0-alpha.1 107 1/18/2023
0.1.0-alpha.0 100 1/16/2023