Skip to content

bigboystoffe/Blazor.SplitPanel

Repository files navigation

Blazor.SplitPanel

Inspired by Split-js

Build NuGet version

Installation

In Program.cs

Add following:

builder.Services
  .AddSplitPanelJS()
  .AddJsInteropExtensions();

Add following using in _Imports.razor

@using Blazor.SplitPanel

Usage

<SplitArea GutterSize="8" Direction="SplitDirection.Vertical">
  <SplitPane>
    ...
  </SplitPane>
  <SplitPane>
    ...
  </SplitPane>
</SplitArea>

TODO for further release

  • Remove dependency on Majorsoft.Blazor.Components.Common.JsInterop