lustre/element
To read the full documentation for this module, please visit https://lustre.build/api/lustre/element
Types
Functions
pub fn element(
tag: String,
attrs: List(Attribute(a)),
children: List(Element(a)),
) -> Element(a)
pub fn namespaced(
namespace: String,
tag: String,
attrs: List(Attribute(a)),
children: List(Element(a)),
) -> Element(a)
pub fn to_string_builder(element: Element(a)) -> StringBuilder
pub fn to_string_builder_helper(
element: Element(a),
raw_text: Bool,
) -> StringBuilder