zng_wgt

Function on_visibility_changed

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

P Widget visibility changed.

§Preview

You can preview this event using on_pre_visibility_changed. 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.