DS Server

Javascript: TableOfContentsInfo.highlightMode Property

Property|Introduced in 29.0

Description

Indicates how the text of the table of contents is highlighted.

Syntax

<string> TableOfContentsInfo.highlightMode

Examples

The following example demonstrates TableOfContentsInfo.highlightMode in a practical document-editing workflow. Indicates how the text of the table of contents is highlighted.

function inspectHighlightMode(tableOfContentsInfo) {
    const highlightMode = tableOfContentsInfo.highlightMode;
    console.log("highlight mode:", highlightMode);
}