Skip to content

cfware/panel-splitter

Repository files navigation

@cfware/panel-splitter NPM Version

Draggable panel splitter web component.

Usage

Import to your application:

import '@cfware/panel-splitter';

Use to create split panels:

<div class="container">
	<div>left panel</div>
	<panel-splitter style="background:#888"></panel-splitter>
	<div>right panel</div>
</div>

The application is responsible for initial sizing of the container and panels.