Skip to main content

when_context

Function when_context 

Source
pub fn when_context(ctx: &Context, base: &WhenContext) -> WhenContext
Expand description

The context keys: base (depth 0), each scope of the chain at its depth, then textInputFocus at the deepest depth when a text field has the focus, and widgetFocus whenever a widget has it.