zng_wgt

Function on_unblock

source
pub fn on_unblock(
    child: impl UiNode,
    handler: impl WidgetHandler<InteractivityChangedArgs>,
) -> impl UiNode
Expand description

P Widget interactions now unblocked.

Note that the widget may still be disabled.

Note that an event is received when the widget first initializes in the widget info tree if it starts unblocked, this initial event can be detected using the is_new method in the args.

See on_blocked_changed for a more general event.

§Preview

You can preview this event using on_pre_unblock. Otherwise the handler is only called after the widget content has a chance to stop propagation.

§Async

You can use async event handlers with this property.