Function zng::window::on_window_resized
source · pub fn on_window_resized(
child: impl UiNode,
handler: impl WidgetHandler<WindowChangedArgs>,
) -> impl UiNode
Expand description
P
On window size changed.
§Preview
You can preview this event using on_pre_window_resized
.
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.