on_access_text

Function on_access_text 

Source
pub fn on_access_text(
    child: impl IntoUiNode,
    handler: Box<dyn FnMut(&AccessTextArgs) -> HandlerResult + Send>,
) -> UiNode
Expand description

P Access requested a text input/replace.

Note that the text widget already handles this event.

§Preview

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