Pure model layer for x-split-pane — a resizable two-panel layout.
No DOM, no side effects. Every function here is a plain data transform and is exercised directly by model_test.cljs with sparse inputs.
Pure model layer for x-split-pane — a resizable two-panel layout. No DOM, no side effects. Every function here is a plain data transform and is exercised directly by model_test.cljs with sparse inputs.
DOM + lifecycle layer for x-split-pane.
A resizable two-panel layout. The divider position is a percentage held
in the position attribute — the single source of truth. A drag or
keyboard step writes that attribute; the render pipeline reads it back
and applies flex-basis. The element is stateless: instance fields hold
only the refs map, the cached model, and a transient dragging flag.
DOM + lifecycle layer for x-split-pane. A resizable two-panel layout. The divider position is a percentage held in the `position` attribute — the single source of truth. A drag or keyboard step writes that attribute; the render pipeline reads it back and applies `flex-basis`. The element is stateless: instance fields hold only the refs map, the cached model, and a transient dragging flag.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |