Documentation for a historical release of Infusion: 1.4
Please view the Infusion Documentation site for the latest documentation, or the Infusion 1.3. Documentation for the previous release.
If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

fluid.renderer.createRendererFunction

This functionality is Sneak Peek status. This means that the APIs may change. We welcome your feedback, ideas, and code, but please use caution if you use this new functionality.

This page is still being drafted and is incomplete at this time.


This function has been removed as of v1.4 and replaced with fluid.renderer.createRendererSubcomponent.

fluid.renderer.createRendererFunction(container, selectors, options, model, fossils)

description

fluid.renderer.createRendererFunction(container, selectors, options, model, fossils);

File name: RendererUtilities.js

Parameters

container (jQueryable) A string selector, DOM node or jQuery object that is the container for this renderer function.
selectors (Object) A set of named selectors strings (key/value pairs where the key is the selector name and the value is the string selector).
options (Object) Options that will control the behaviour of the renderer function. See below for more information.
model (Object) The data model that is to be rendered.
fossils (Object) (optional)

Return Value

Function The renderer function, which accepts a single parameter: the prototree. When invoked, this function will render the prototree into the container.


Options

Error rendering macro 'excerpt-include' : No link could be created for 'createRenderFunction Options'.

Example

example here

In this example, description here...