Skip to main content

html

Macro html 

Source
html!() { /* proc-macro */ }
Expand description

The html! macro for writing declarative UI in euv.

This macro accepts a syntax similar to Dioxus HTML:

html! {
    div {
        class: c_container()
        h1 { "Hello, euv!" }
        button {
            onclick: move |_| { /* handle click */ },
            "Click me"
        }
    }
}