This documentation is currently being moved to our new documentation site.

Please view or edit the documentation there, instead.

If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

fluid.renderer.makeProtoExpander

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 in the process of being drafted and is still incomplete.

fluid.renderer.makeProtoExpander(expandOptions)

Create a "protoComponent expander" with the supplied set of options.

fluid.renderer.makeProtoExpander(expandOptions);

File name: RendererUtilities.js

Parameters

expandOptions (Object) Options for controlling the expansion. For more information, see #Options below.

Return Value

Function A function which accepts a protoComponent tree as argument, and returns a fully expanded Component Tree suitable for supplying to the renderer.

 

Options

Name

Description

Values

Default

ELstyle

The format to be used for identifying values to be expanded in the protocomponent tree.

String

"${}"

IDescape

 

String

"\\\"

model

Configuration functions to be applied to any data retrieved from the model

Object

none

resolverGetConfig

Configuration functions to be applied to any data retrieved from the model.

Array of functions

none

Example

example here

In this example, description here...