| 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. |
New in v1.4
fluid.renderer.createRendererSubcomponent(container, selectors, options, model, fossils)
|
description File name: RendererUtilities.js Parameters
Return Value
|
See Also |
Options
| Name | Description | Values | Default |
|---|---|---|---|
| cutpointGenerator | A function that can be used to create a list of cutpoints.NOTE that this function will only be used if the rendererOptions option does not include a cutpoints entry. | function | fluid.renderer.selectorsToCutpoints |
| expanderOptions | Options that will be passed on to the prototree expander function. Note that if the noexpand option is true, these options will be ignored. | Object | none |
| noexpand | A flag that, if true, will prevent the prototree from undergoing any expansion. NOTE that this option will render any expanderOptions meaningless. | boolean | false |
| rendererOptions | Options that will be passed on to the Renderer itself. See fluid.render for more information | Object | none |
| templateSource | A string selector, DOM node or jQuery object containing the source template to be used for rendering by this function. | jQueryable | none; The container will be used as the source for the template if this option is not provided. |
Return Value
This function returns a renderer subcomponent with two public methods:
- expander:
- render: when invoked, this function will render the prototree into the container
Example
In this example, description here...