Skip to main content

Module splitter

Module splitter 

Source
Expand description

Resizable split panes and edge handles on the WAI-ARIA window splitter pattern, from splitter.css. The behaviour ports upstream’s splitter.ts; the arithmetic is in crate::behavior::splitter.

Re-exports§

pub use Split_completions::Component::Split;
pub use Resizable_completions::Component::Resizable;

Structs§

ResizableProps
Properties for the Resizable component.
Resize
A size change. settled is false while a drag is in progress, so an app can persist only sizes the user let go of.
SplitProps
Properties for the Split component.

Functions§

Resizable
An element with a handle on its inline or block end, sized in pixels.
Split
Two panes and a bar between them. The value is the primary pane’s share of the split, in percent, so the layout survives a window resize.