Function tree_select_toggle_handler
Source pub fn tree_select_toggle_handler<E: 'static>(
open: Signal<bool>,
) -> Option<Rc<dyn Fn(E)>>
Expand description
Builds the click handler that opens or closes the panel.
§Arguments
Signal<bool> - The panel open state owned by the component.
§Returns
Option<Rc<dyn Fn(E)>> - The toggle click handler.