Crate sauron_core[−][src]
Expand description
Core component of sauron
Re-exports
pub use dom::*;
pub use web_sys;
pub use wasm_bindgen;
pub use js_sys;
pub use serde_json;
pub use mt_dom;
pub use vdom::*;
Modules
This module provides functionalities for manipulating the actual Document Object Model in the browser
Provides functions and macros to build html elements
json css
Prelude simplifies the imports from sauron This imports the necessary functions to build a basic sauron app.
Provides functions and macros to build svg elements
This module contains types that are derived from mt-dom where we assign concrete types into the generics
Macros
declare a function with the name corresponds to attribute name for easy usage in html elements Example:
jss macro
jss with namespace
create css using jss with namespace macro with correct indentions
create css using jss macro with nice indentions
a utility function for convenient styling of elements
creates a text node using a formatter
Structs
Text node
Traits
render node, elements to a writable buffer