zng::toggle

Function select_on_new

source
pub fn select_on_new(
    child: impl UiNode,
    enabled: impl IntoVar<bool>,
) -> impl UiNode
Expand description

P If value selects the new value when the variable changes and the previous value was selected.