pub fn label(child: impl UiNode, label: impl IntoVar<Txt>) -> impl UiNode
Expand description
P
Sets a custom name for the widget in accessibility info.
See also labelled_by
and labelled_by_child
.
pub fn label(child: impl UiNode, label: impl IntoVar<Txt>) -> impl UiNode
P
Sets a custom name for the widget in accessibility info.
See also labelled_by
and labelled_by_child
.