Table of Contents Model Builder
The Model Builder subcomponent is used by Table of Contents to convert a flat list of headings into a hierarchical list suitable for the Table of Contents.
Do not use this component directly. The information on this page should be use when customizing Table of Contents.
See Also
Table of Contents
UI Enhancer
Supported Events |
none |
---|---|
|
|
Options |
none |
Methods
This component has public methods that can be invoked by integrators as necessary. Some of these methods may be implemented as Invokers, which resolve their arguments from the environment at invocation time. These methods can be configured by the integrator if necessary: arguments can be changed, and in fact the entire implementation function can be replaced by a custom function (though it is likely rare that this would be necessary or desirable).
Configuration of invokers is carried out using Demands Specifications, using the following pattern:
fluid.demands("component.name", [<context>], { invokers: { <invokerName>: { funcName: <implementation function name>, args: [<array of argument specifications>] } } });
modelLevelFn
Description |
Used by the |
---|---|
Parameters |
modelLevel |
Configurable |
yes |
Notes |
The Model Builder also defines an alternative implementation: |
toModel
Description |
Used by the Model Builder to ... |
---|---|
Parameters |
headingInfo |
Configurable |
yes |
See also |