Function span
Source pub fn span<M>(text: impl Into<String>) -> El<M>
Expand description
27fn choice(value: &str, label: &str) -> El<()> {
28 html::label()
29 .key(value)
30 .child(html::radio("size", value).key("r"))
31 .child(html::span(label).key("t"))
32}