Skip to main content

when

Function when 

Source
pub fn when<W: Widget>(
    condition: impl Into<Vary<bool>>,
    yes: impl FnMut() -> W + 'static,
) -> When