Module sauron_core::html
source · [−]Expand description
Provides functions and macros to build html elements
Re-exports
pub use crate::dom::events;
Modules
Create html attributes
provides functionalities and macro for building html elements
provides function and macro for html units such as px, %, em, etc.
Functions
Creates an html blockquote element
create a comment node
create a virtual node with tag, attrs and children
create a virtual node with namespace, tag, attrs and children
Creates an html figcaption element
Creates an html element
Creates an html element with the element tag name and namespace This is specifically used for creating svg element where a namespace is needed, otherwise the browser will not render it correctly.
Create a self closing html element.
Create an html and instruct the DOM renderer and/or DOM patcher that the operation is safe.
Create a text node element
A help function which render the view when the condition is met, otherwise
just display a span(vec![], vec![])