Function moxie_dom::text::text[][src]

pub fn text(s: impl AsRef<str>) -> Text
Expand description

Create a DOM text node. This is normally called by the moxie::mox! macro.