This page is still incomplete.


A simple driver for single node self-templating. Treats the markup for a node as a template, parses it into a template structure, renders it using the supplied component tree and options, then replaces the markup in the node with the rendered markup, and finally performs any required data binding. The parsed template is returned for use with a further call to reRender.

fluid.render(node, tree, options);

File name: Renderer.js



(Node) The node to receive the rendered markup


(Object) The component tree to be rendered


(Object) An options structure to configure the rendering and binding process. See the options section below for more information.

Return Value


A templates structure, suitable for a further call to fluid.reRender or fluid.renderTemplates