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