elements
Types
pub type Attribute {
Attribute(key: String, value: String)
}
Constructors
-
Attribute(key: String, value: String)
Functions
pub fn element(
tag: String,
attrs: List(Attribute),
children: List(Element),
) -> Element
pub fn element_self_closing(
tag: String,
attrs: List(Attribute),
) -> Element
pub fn escape_text(value: String) -> Element