Skip to main content

span

Function span 

Source
pub fn span<M>(text: impl Into<String>) -> El<M>
Expand description

span: inline text.

Examples found in repository?
examples/ask.rs (line 31)
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}