glare
Types
pub external type HtmlElement
Functions
pub external fn render(node: Node, elem: HtmlElement) -> Nil
Mount a node to a dom element
fn content() {
return h1([text("hello world")])
}
render(content(), bodyelement)
pub external fn select(selector: String) -> HtmlElement
Select a dom element
used for mounting to, see render