pub fn element(
tag tag: String,
class class: Class,
attributes attributes: List(Attribute(a)),
children children: List(Element(a)),
) -> Element(a)
pub fn element_(
tag tag: String,
attributes attributes: List(Attribute(a)),
children children: List(Element(a)),
) -> Element(a)
pub fn fragment(children: List(Element(a))) -> Element(a)
pub fn keyed(
element: fn(List(Element(a))) -> Element(a),
children: List(#(String, Element(a))),
) -> Element(a)
pub fn map(element: Element(a), mapper: fn(a) -> b) -> Element(b)
pub fn namespaced(
namespace namespace: String,
tag tag: String,
class class: Class,
attributes attributes: List(Attribute(a)),
children children: List(Element(a)),
) -> Element(a)
pub fn namespaced_(
namespace namespace: String,
tag tag: String,
attributes attributes: List(Attribute(a)),
children children: List(Element(a)),
) -> Element(a)
pub fn none() -> Element(a)
pub fn styled(
element: Element(a),
) -> sketch/lustre/element.Element(a)
pub fn text(content: String) -> Element(a)
pub fn unstyled(
cache: Cache,
element: Element(a),
) -> #(Cache, lustre/internals/vdom.Element(a))