pub fn ui_render_page_file(
app_root: &str,
template_file: &str,
page_params: &Value,
) -> Option<String>Expand description
Renders a page template after ledger declarations are resolved.
§Parameters
app_root: Input consumed bycrate::runtime::ui::ui_render_page_file.template_file: Input consumed bycrate::runtime::ui::ui_render_page_file.page_params: Input consumed bycrate::runtime::ui::ui_render_page_file.
§Returns
Returns Some when crate::runtime::ui::ui_render_page_file can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::ui::ui_render_page_file.
§Examples
ⓘ
let _result = pharos_native::runtime::ui::ui_render_page_file(std::path::Path::new("apps/dev_docs"), std::path::Path::new("template.html"), todo!());§Related
crate::runtime::uifor adjacent helpers that share the same runtime surface.