zng_wgt_text

Function 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.