zng::access

Function on_access_click

source
pub fn on_access_click(
    child: impl UiNode,
    handler: impl WidgetHandler<AccessClickArgs>,
) -> impl UiNode
Expand description

P Access requested a click.

Note that the normal click event is already triggered by this event.

§Preview

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