Skip to main content

label_of

Function label_of 

Source
pub fn label_of(node: NodeId) -> Option<String>
Expand description

A human-readable label for a node, for annotating a recorded script (§14.6): the accessibility label if one is set (.a11y(label = …), the localized string the screen reader speaks), otherwise the control’s own visible text. None when the node carries neither.

Day API ↩ Guides· daybrite.dev