Crate sauron_core[−][src]
Expand description
Core component of sauron
Re-exports
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