elydium / Blazor.SplitPanel

Splitpanels for blazor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Splitpanels for blazor

License:MIT License


Languages

Language:C# 52.9%Language:HTML 29.7%Language:CSS 17.1%Language:JavaScript 0.4%