Skip to main content

view

Macro view 

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

view! JSX-like DSL — re-exported from uzor-framework-macros (brief M1). JSX-style view tree. Lowers to imperative uzor_framework::widgets::lm::* calls.

ⓘ
view! {
    <col rect={body} gap=8>
        <button text="Save" on_click={|| self.save()} />
        <checkbox bind={&mut self.dark} label="Dark" />
    </col>
}

Overlay tags (modal, popup, dropdown, context_menu) are deferred past M1 — they still needed layout façade handles after F8.