Function zng_wgt_input::pointer_capture::on_pointer_capture_changed
source · pub fn on_pointer_capture_changed(
child: impl UiNode,
handler: impl WidgetHandler<PointerCaptureArgs>,
) -> impl UiNode
Expand description
P
Widget acquired or lost mouse and touch capture.
§Preview
You can preview this event using on_pre_pointer_capture_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.