pub fn t<G: GenericNode>(t: impl AsRef<str>) -> View<G>
Expand description

Construct a new top-level text View.

Example

t("Hello!")
t("This is top level text.")
t("We aren't directly nested under an element.")
// etc...