Expand description
The core components of sauron
Modules§
- This module provides functionalities for manipulating the actual Document Object Model in the browser
- Provides functions and macros to build html elements
- prelude
- Provides functions and macros to build svg elements
- 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 a function with the name corresponds to attribute name for easy usage in html elements Example:
- creates a key attribute using a formatter
- creates a text node using a formatter