pub fn on_click(child: impl IntoUiNode, handler: Handler<ClickArgs>) -> UiNodeExpand description
P On widget click with the primary button and any click count and the widget is enabled.
This raises only if the click is primary, but raises for any click count (double/triple clicks).
Use on_any_click to handle clicks from any button or on_single_click to not include
double/triple clicks.
§Preview
You can preview this event using on_pre_click.
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.