Blazor- Toolbelt.Blazor.SplitContainer

[删除(380066935@qq.com或微信通知)]

Blazor SplitContainer

jsakamoto/Toolbelt.Blazor.SplitContainer: A Blazor component to create panes separated by a slidable splitter bar. (github.com)

A Blazor component to create panes separated by a slidable splitter bar.

movie

How to use

Installation

  1. Add package to your project like this.
dotnet add package Toolbelt.Blazor.SplitContainer
  1. Open Toolbelt.Blazor.Splitter namespace in _Imports.razor file.
@* This is "_Imports.razor" *@
...
@using Toolbelt.Blazor.Splitter
  1. Then you can use the SplitContainer component in your Blazor app.

<SplitContainer @bind-FirstPaneSize="_PaneSize">

    <FirstPane>
        <h1>Hello</h1>
    </FirstPane>

    <SecondPane>
        <h1>World</h1>
    </SecondPane>

</SplitContainer>

@code {
    private int _PaneSize = 80;
}