Function zng_wgt_text::auto_selection

source ยท
pub fn auto_selection(
    child: impl UiNode,
    mode: impl IntoVar<AutoSelection>,
) -> impl UiNode
Expand description

P Auto-selection on focus when the text is selectable.

If enabled on keyboard focus all text is selected and on blur any selection is cleared.