Macro mogwai_html_macro::view [−][src]
view!() { /* proc-macro */ }
Expand description
Uses an html description to construct a View
.
This is the same as the following:
extern crate mogwai;
let my_div = mogwai::macros::view! {
<div cast:type=mogwai::view::Dom id="main">
<p>"Trolls are real"</p>
</div>
};