Crate bloom_html Copy item path Source prelude Make sure to import bloom_html::prelude::*
wherever you want to use (https://crates.io/crates/bloom-rsx)[bloom-rsx]
to render HtmlNodes tag Some basic html tags DomRef Represents a reference to a DOM element.
Obtain this via HtmlElement Represents an html tag such as <div>
, <span>
, etc. HtmlNode The Node-type to use bloom in Browser-Environments.
A HtmlNode is equivalent to a browser DOM-node.
It can represent an HTML Element (,
, etc.),
a text-node or a comment.tag text shortcut for generating text-nodes EventHandler Event handlers are basically just closures that take a web_sys::Event as an argument.
This type only provides a convenience for implementing the actual render-functions.