No matches.
component
The panes and handles, in source order — `<SplitterPane>` and `<SplitterHandle>` interleaved.
Semantic palette the divider draws from, forwarded as `colorPalette`. The grip colour is published as an inheriting custom property, so this reaches every handle beneath the root without repeating it per handle.
Axis the panes are laid out along. `horizontal` splits left/right, `vertical` splits top/bottom.
Pane sizing, in source order — one entry per `<SplitterPane>`. `size` is a relative weight; `min` / `max` are pixels.
Distance in px a pane must be dragged below its `min` before a `collapsible` pane snaps shut.
`localStorage` key under which the current sizes are saved and restored. Omit to keep the splitter stateless across reloads.
Sizes (in px, along the split axis) that a drag snaps to when it comes within `snapThreshold`.
Fired when a pane collapses or expands.
Fired whenever the resolved pane geometry changes.
Astro / vanilla: serialize the props into `data-splitter-config` so the client runtime hydrates this instance and `getPindoba(el, "splitter")` can `update()` it. Frameworks with their own reactivity don't need it.
Plus all standard <div> HTML attributes.
Identity of the pane, matching an entry in the root's `panes` array, and the target of the adjacent handle's `aria-controls`. Optional: the controller falls back to the pane's source position, so an unlabelled splitter still resizes — you only need an id to address a pane by name or to wire `aria-controls`.
Whether the pane is currently collapsed. Frameworks feed their reactive state in; the controller owns the transitions.
Per-slot style and HTML-attribute overrides.
Axis the handle moves along. Normally inherited from the root; set it only when rendering a handle outside a `<Splitter>`.
`id` of the pane immediately before this handle — the one the handle's ARIA value describes and that <kbd>Enter</kbd> collapses.
Current size of the controlled pane as a percentage of the split axis, published as `aria-valuenow`. The controller keeps this live.
SplitterHandlePassThrough<HandleElementAttributes> Per-slot style and HTML-attribute overrides.