@cfware/panel-splitter

Draggable panel splitter web component.

Usage no npm install needed!

<script type="module">
  import cfwarePanelSplitter from 'https://cdn.skypack.dev/@cfware/panel-splitter';
</script>

README

@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.