pub fn on_mouse_down(
child: impl IntoUiNode,
handler: Handler<MouseInputArgs>,
) -> UiNodeExpand description
P Mouse button pressed while the cursor is over the widget, the widget is enabled and cursor capture allows it.
§Preview
You can preview this event using on_pre_mouse_down.
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.