Crate bloom_html

Source

Modules§

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

Structs§

DomRef
Represents a reference to a DOM element. Obtain this via
HtmlElement
Represents an html tag such as <div>, <span>, etc.

Enums§

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.

Functions§

tag
text
shortcut for generating text-nodes

Type Aliases§

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.