[][src]Macro mogwai_html_macro::view

view!() { /* proc-macro */ }

Uses an html description to construct a View.

use mogwai::prelude::*;

let my_div = view! {
    <div id="main">
        <p>"Trolls are real"</p>
    </div>
};