pub fn has_selection(
child: impl IntoUiNode,
state: impl IntoVar<bool>,
) -> UiNodeExpand 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.