svelte-h-split-pane

0.1.1 • Public • Published

Horizontal Split Pane for Svelte

This is a splitter plugin for Svelte Application. Easy to use to separate panes horizontally.

Usage

<script>
  let leftPane, rightPane;
</script>

<div this={leftPane}></div> <!-- Pane for Left Side -->
<div this={rightPane}></div> <!-- Pane for Right Side -->

<HSeparator left={leftPane} right={rightPane} /> <!-- Draggable Separator -->

...where leftPane / rightPane are components for each pane.

Example:

Optional Parameters

updateCallback: this is called when splitting is finished. marginTop: marginTop value for splitter.

Readme

Keywords

Package Sidebar

Install

npm i svelte-h-split-pane

Homepage

readiz.com/

Weekly Downloads

3

Version

0.1.1

License

MIT

Unpacked Size

42.2 kB

Total Files

8

Last publish

Collaborators

  • readiz