Function TreeViewWidget

Source
pub fn TreeViewWidget<T, F, S, FV, IV, EC>(
    props: TreeViewWidgetProps<T, F, S, FV, IV, EC>,
) -> impl IntoView
where T: Debug + Clone + PartialEq + 'static, S: Debug + Clone + PartialEq + Eq + Hash + ToString + 'static, F: Fn() -> Vec<T> + Copy + 'static, FV: Fn(&T) -> IV + Copy + 'static, IV: IntoView, EC: Fn(&T) -> Vec<T> + Copy + 'static,
Expand description

§Required Props

  • each: [F]
  • key: [fn(&T) -> S]
  • each_child: [EC]
  • view: [FV]

§Optional Props

  • show_separator: impl Into<Signal<bool>>
  • selection_model: [impl Into<RwSignal<SelectionModel<S, T>>>](RwSignal<SelectionModel<S, T>>)
  • on_click: [fn(&S, MouseEvent)]