Home

Awesome

Build Status Nuget

GitHub GitHub tag (latest SemVer pre-release)

About

The EventHorizon.Blazor.Interop is a slim WASM project I created to help with common Blazor JavaScript Interop actions.

Usage

This library requires the usage of the IJSRuntime, you will need to attach one manually before usage.

In "App.razor"

@code {
    [Inject]
    public IJSRuntime JSRuntime { get; set; }

    protected override void OnInitialized()
    {
        EventHorizonBlazorInterop.JSRuntime = JSRuntime;
    }
}

Sample

The EventHorizon.Blazor.Interop.Sample Project contains a suite of performance tests I created to help me verify the performance scenarios I will be using.

Use Libraries

MediatR

Inspiration

Future Work