Two panes side by side with a draggable bar between them: permille of the width goes to left (held between 50 and 950, so neither pane can be dragged shut). The app keeps the position and gives it back.
Signature
pub fn split_view<'a, M: Clone + 'a, L: Children<M> + 'a, R: Children<M> + 'a>( permille: u16, on_change: fn(u16) -> M, left: L, right: R, ) -> impl View<M> + 'aExample
use fusuma::{split_view, text};
let view = split_view(300, |permille| permille, (text("List"),), (text("Detail"),));
let built = fusuma::doc::built::<u16, _>(&view);
assert_eq!(built.texts(), ["List", "Detail"]);