Interface ITableOfContentsRegistry

Interface describing the table of contents registry.

interface ITableOfContentsRegistry {
    add(
        factory: TableOfContents.IFactory<Widget, TableOfContents.IHeading>,
    ): IDisposable;
    getModel(
        widget: Widget,
        configuration?: TableOfContents.IConfig,
    ): undefined | TableOfContents.Model;
}

Implemented by

Methods

Methods