Function zng_wgt::on_move

source ·
pub fn on_move(
    child: impl UiNode,
    handler: impl WidgetHandler<TransformChangedArgs>,
) -> impl UiNode
Expand description

P Widget global position changed.

§Preview

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