Function zng::access::on_access_selection

source ·
pub fn on_access_selection(
    child: impl UiNode,
    handler: impl WidgetHandler<AccessSelectionArgs>,
) -> impl UiNode
Expand description

P Access requested a text selection.

Note that the text widget already handles this event.

§Preview

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