pub fn ui_render_fragment(
app_root: &str,
relative: &str,
params: &Value,
) -> Option<String>Expand description
Loads and renders one validated app fragment.
§Parameters
app_root: Input consumed bycrate::runtime::ui::ui_render_fragment.relative: Input consumed bycrate::runtime::ui::ui_render_fragment.params: Input consumed bycrate::runtime::ui::ui_render_fragment.
§Returns
Returns Some when crate::runtime::ui::ui_render_fragment 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_fragment.
§Examples
ⓘ
let _result = pharos_native::runtime::ui::ui_render_fragment(std::path::Path::new("apps/dev_docs"), todo!(), todo!());§Related
crate::runtime::uifor adjacent helpers that share the same runtime surface.