Svelte-HV-split-panes

my kind of implementation for https://github.com/Readiz/svelte-split-pane

Modified:

  1. for the divider bar, event listeners will be available when "layout edit mode" is on. this is helpful if u want to lock/unlock editing of sizes.

Added:

  1. Touchscreen support
  2. ability to change size/thickness of divider bar (to make it small when not in edit mode, and large when in edit mode so it becomes accessible in touch devices)
  3. async loading of another module inside the splitter regions
  4. you can specify width using percent (%) or pixels (px). just use leftPaneSizePx or leftPaneSizePcent to specify using your unit choice.

Problems:

  1. for now, you can specify the position of divider line using only left or top pane size. you cannot specify bottom/right pane size, it will be calculated automatically. You can only set the minimum width for them.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes