Skip to main content

actions_group

Function actions_group 

Source
pub fn actions_group<R: Resource>(
    actions: &Actions<R>,
    hits: &[ActionHit],
    heading: &str,
    show_label: &str,
    show: &Rc<dyn Fn(&str)>,
) -> Element
Expand description

The trailing “In this app” group of a query view: its heading, then each hit as its real control, with a button that takes the person to where the control lives (show, given the control’s home) for those that have one. heading and show_label are the app’s words for them.