Expand description
The core components of sauron
Modules§
- dom
 - This module provides functionalities for manipulating the actual Document Object Model in the browser
 - html
 - Provides functions and macros to build html elements
 - prelude
 - prelude
 - svg
 - Provides functions and macros to build svg elements
 - vdom
 - vdom stands for virtual-dom. This module contains types that are derived from mt-dom where we assign concrete types into the generics.
 
Macros§
- declare_
attributes  - declare a function with the name corresponds to attribute name for easy usage in html elements Example:
 - key
 - creates a key attribute using a formatter
 - text
 - creates a text node using a formatter