with_title

Function with_title 

Source
pub fn with_title<P: Program>(
    program: P,
    title: impl Fn(&P::State, Id) -> String,
) -> impl Program<State = P::State, Message = P::Message, Theme = P::Theme>
Expand description

Decorates a Program with the given title function.