Skip to main content

make_on_toggle_expand

Function make_on_toggle_expand 

Source
fn make_on_toggle_expand(
    expanded: RwSignal<bool>,
    displays: RwSignal<Vec<DisplaySourceView>>,
    windows: RwSignal<Vec<WindowSourceView>>,
    error_message: RwSignal<Option<String>>,
    active_source_id: RwSignal<Option<String>>,
) -> impl Fn(MouseEvent) + Copy + Send + Sync + 'static
Expand description

Closure factory for the expand-dropdown button.