pub fn render_subtree(target_id: &str, spec: &Spec, data: &Value) -> StringExpand description
Render only the subtree rooted at target_id.
- If
target_id == "ferro-json-ui"(the well-known nav target): rendersspec.rootand wraps it in the standard<div id="ferro-json-ui" …>shell. - Otherwise: looks up
target_idinspec.elementsand renders that element. If the element is not found, returns an HTML comment.
Used by the framework fragment response path when X-FJUI-Target is present.