Adds a table of contents factory to the registry.
table of contents factory
Finds a table of contents model for a widget.
undefined
.widget
Optional
configuration: TableOfContents.IConfigTable of contents configuration
Table of contents model or undefined if not found
Interface describing the table of contents registry.