has_selection

Function has_selection 

Source
pub fn has_selection(
    child: impl IntoUiNode,
    state: impl IntoVar<bool>,
) -> UiNode
Expand description

P If widget or rich context has selection.

If set on a text widget gets if the local text has a selection, otherwise gets if the rich text context has a selection.