pub fn tag<'a, G: GenericNode>(
t: impl AsRef<str> + 'a
) -> ElementBuilder<'a, G, impl FnOnce(Scope<'a>) -> G>
Expand description
Construct a new ElementBuilder
from a tag name.
Example
tag("a") // Not recommended. Use `a()` instead.
tag("button") // Not recommended. Use `button()` instead.
tag("my-custom-element")
// etc...