Function zng::text::get_caret_index
source ยท pub fn get_caret_index(
child: impl UiNode,
index: impl IntoVar<Option<CaretIndex>>,
) -> impl UiNode
Expand description
P
Gets the caret char index, if the text is editable.