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 vdom::*;

Modules

This module provides functionalities for manipulating the actual Document Object Model in the browser

Provides functions and macros to build html elements

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:

Creat a style attribute

creates a text node using a formatter

Structs

Text node

Traits

render node, elements to a writable buffer