Skip to main content

ui_render_page_file

Function ui_render_page_file 

Source
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

§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!());