pub fn render_shared_asset_fragment(
app_root: &str,
fragment_name: &str,
params_root: &Value,
) -> Option<String>Expand description
Renders a shared fragment through the app-owned template loader.
§Parameters
app_root: Input consumed bycrate::runtime::business::render_shared_asset_fragment.fragment_name: Input consumed bycrate::runtime::business::render_shared_asset_fragment.params_root: Input consumed bycrate::runtime::business::render_shared_asset_fragment.
§Returns
Returns Some when crate::runtime::business::render_shared_asset_fragment can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::business::render_shared_asset_fragment(std::path::Path::new("apps/dev_docs"), todo!(), &serde_json::json!({}));§Related
crate::runtime::businessfor adjacent helpers that share the same runtime surface.