The Table of Contents component will construct and display a formatted list of links to all headers in a document. Subcomponent Name: fluid.tableOfContents Creation Code Block |
---|
|
fluid.tableOfContents(container, options);
|
ParametercontainerThe container is a CSS-based selector, single-element jQuery object, or DOM element that contains the headings that are to be included in the Table of Contents. This may typically be the entire document, but could be limited to a part of the document. optionsThe options object is an optional collection of key/value pairs that can be used to further configure the Table of Contents, as described below in the fluid:Options section. |