Skip to main content

Module yui_vm

Module yui_vm 

Source
Expand description

View-model screens: a .yui whose <Screen> has x:ViewModel="MyVm" compiles into a yog_kit::View — the static widget tree (built by crate::yui’s generator), compiled {x:Bind ...} bindings patching it, commands, two-way text boxes and toggles, lists with item templates, and the register/open/close functions. See docs/mvvm.md in Yog-IDLE for the format.

Functions§

generate
Generates a view-model screen’s .g.rs (see the module docs).