app.render
app/mainapp.render() -> UI.Node
Returns the complete current interface as exactly one UI.Screen root.
When to use it
Implement render in every application entry module; it is the required source of the complete current host-neutral UI tree.
Parameters
No parameters.
Returns
UI.Node — exactly one UI.Screen root.
Focused example
local function render(): UI.Node
return UI.Screen {
id = "app",
}
endContinue with a complete recipe
This checked recipe uses app.render inside complete authored files with the required manifest, test, and run steps.
Open validate a form and confirm in a modal recipe