diff --git a/API/dotpipe.js b/API/dotpipe.js index 9bdd707..76aa969 100644 --- a/API/dotpipe.js +++ b/API/dotpipe.js @@ -5356,12 +5356,38 @@ function escapeHtml(html) { } /** - * - * @param {JSON Object} value - * @param {string} tempTag - * @param {} root - * @param {*} id - * @returns HTML Object + * Render a JSON-defined UI fragment into a DOM container. + * + * Given a JSON "template" object, creates DOM nodes described by the object's keys + * and appends them into the provided container (tempTag). Supports nested objects, + * common presentation keys and helper directives used by the framework: + * - tagname / tagName: element tag to create (defaults to "div") + * - header: object rendered via modalaHead (also injects a CSP meta tag) + * - buttons: array of button definitions (text/value/attributes) + * - sources: semicolon-separated sources for cards/carousels (img/audio/video/html/php) + * - css / js: external asset URLs to inject as /