Skip to main content

label_for

Function label_for 

Source
pub fn label_for(for_id: impl AsRef<str>) -> Element
Expand description

A <label for="…">.

Named for_id because for is a Rust keyword; the rendered attribute is still for.