Skip to main content

page_filter_bar

Function page_filter_bar 

Source
pub fn page_filter_bar<P>(cx: &Cx) -> Pin<Box<dyn View + '_>>
where P: Page,
Expand description

The filter bar of the page P, for a page that renders itself: a form holding each PageDef::filter’s value, which submits to the page, so its widgets read the new values through page_filters. The default Page::render places it under the header.

It renders nothing outside a request to P’s panel, for a request the panel’s sign-in or PageDef::access refuses, and for a page declaring no filter.