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