Skip to main content

split_handle

Function split_handle 

Source
pub fn split_handle<'a, Message: Clone + 'a>(
    on_press: Message,
    on_reset: Message,
) -> Element<'a, Message>
Expand description

The divider, draggable: on_press starts a drag (the host follows the pointer until the button is let go, and asks split_ratio where it is), on_reset is a double click, which puts the halves back even.