Interface describing table of contents widget options.

interface IOptions {
    model?: TableOfContents.IModel<TableOfContents.IHeading>;
    placeholderHeadline: string;
    placeholderText: string;
}

Properties

Table of contents model.

placeholderHeadline: string

If no headings are present, a headline to display as a placeholder

placeholderText: string

If no headings are present, text to display as a placeholder