Module sauron_core::html
source · Expand description
Provides functions and macros to build html elements
Re-exports
pub use crate::dom::events;
pub use tags::commons::*;
pub use tags::self_closing::*;
pub use tags::*;
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
- create a comment node
- create a doctype
- create a virtual node with tag, attrs and children
- create a virtual node with namespace, tag, attrs and children
- fragment is a list of nodes
- 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 node which contains a list of nodes
- 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![])